To change the default editor for crontab, that running by command: # crontab -e you should setup the environment variable EDITOR: # export EDITOR=/bin/nano or add this line to your /etc/environment file, or ~/.bashrc. Another way: # export EDITOR=/bin/nano crontab -e

If you enjoy our post, feel free to subscribes to our rss feeds