Set vim as default cronjob editor

Method 1


Replace with

Method 2 edit .bash_profile


Once added, .bash_profile will look like

Method 3 If you need it done one time only, run following commands on command prompt.


Read More…

Install vim from source on CentOS

To install vim from source on CentOS server, run

This will install latest version of vim. You can start it with command

To get it work with “vi” command, i removed preinstalled vim editor with command

Now create a symlink with


Read More…