Sunday, September 2, 2007

::changing default editor::

#default editor in UNIX/Linux is usually vi, but you can change the default editor to pico/nano/vim using this command:

export EDITOR=pico
#or
export EDITOR=nano
#or
export EDITOR=vim

#you may then edit your crontab using your preferred editor
crontab -e

No comments:

// stats


afraid.org / freedns.afraid.org