crontab -e
. The command will check for the environment variables $EDITOR
or $VISUAL
.
So you need to set the $EDITOR
or $VISUAL
variable. Let’s learn how to do that.
$ export VISUAL=vim or $ export EDITOR=vim Then $ crontab -e
$ export VISUAL=nano
$ export VISUAL=ed
to exit from ed
you need to type q
and press enter.
This is how you can set the default editor for crontab in linux.
If you are working with MySQL or MariaDB web server, sooner or later you will…
Installation method for COMODO SSL Certificate If you have generated the CSR and purchased or…
In AWS S3, you might want to provide the access to selected users to selected…
It's possible you have earlier generated a ssh key without password/ passphrase. Later you found…
If you are working on Linux OS, finding files effectively always a tricky part. Like…
What is SSL? SSL (Secure Sockets Layer) is a standard security protocol for establishing encrypted…