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:

Code:
yum install nano
Now that we know it is installed, run this:

Code:
nano /etc/bashrc
Then add this line somewhere in the file (at the bottom is a good place)

Code:
export EDITOR="nano"
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.

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