May 2, 2008
Configure default command-line programs for Ubuntu
Use the following command to configure default command-line programs, e.g., pager, editor, ssh, etc.:
update-alternatives --all
For example:
update-alternatives --config editor
allows you to change the default editor nano
in ubuntu, to e.g., emacs
, if installed.