If you prefer nano to the vi editor in Linux, or if you have a bad habit of typing pico to start your editor you can fix that relatively quickly and easily in CentOS.
First, login as root and then make sure nano is installed.
If not, install it:
Now that we know it is installed, run this:Code:yum install nano
Then add this line somewhere in the file (at the bottom is a good place)Code:nano /etc/bashrc
Then reset your shell or log out and login again. Next time you do certain functions like edit the crontab, nano will be the default editor.Code:export EDITOR="nano"
If you find yourself constantly typing pico instead of nano, then you can fix that with a symlink.
See how to do that here:
http://forums.glowhost.com/whm-resel...line-2949.html