Ubuntu
Fixing the Default Editor
Ubuntu defaults to using nano over Vi. To correct this sacrilegious behavior, use the following command:
sudo update-alternatives –config editor
Ubuntu defaults to using nano over Vi. To correct this sacrilegious behavior, use the following command:
sudo update-alternatives –config editor