Change the Default Editor to nano in Linux
Saturday, April 27th, 2019Use nano as the Default Editor
If you hate vi like I do, you can configure Linux to always default to using the nano editor.
Simply add the following to the bottom of the /etc/bashrc file:
export EDITOR="nano"
Save the file. nano is now the default editor. When you use
sudo crontab -e
The nano editor will now be used by default.