linuxwave
Linux is for everybody. Lets enjoy it.
Monday, June 18, 2007
Changing default editor for your linux machine
Below are the steps to be taken to change your default editor. Usually for Ubuntu, the default editor is pico and for Centos is vi.
To change your default editor to vi, type:
->
export VISUAL=/usr/bin/vi
To make it permanent for current user, add the above line to /home/user/.bash_profile
To make it permanent globally, add the above line to /etc/profile
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment