Change the default editor
I ran into this with CentOS 5. Where the default editor for the system is set to nano!
I like vi and wanted to change the default to it.
- login to the system
- vi .bashrc
- Add the following two lines to .bashrc
- run the command, source .bashrc
- A change to /etc/bashrc will make it a system wide change