Whenever I do a crontab -e, I always see teh VI editor instead of the nano which I have installed.
Anyone any idea as to how to change this? I hate VI.
Whenever I do a crontab -e, I always see teh VI editor instead of the nano which I have installed.
Anyone any idea as to how to change this? I hate VI.
For the root account only, edit /root/.bashrc and add the lines:
export EDITOR="nano"
export VISUAL="nano"
For all users, add those lines to /etc/bashrc
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Is their any restart required after this, I tried and it still doesn't works
Hi,
I think no need to restart any service just logout from the current SSH session and
login again. Now check it again, it should be working.
Please make sure you are making the changes for the user which you are using to
access SSH.