How to change default crontab editor

Run from a command line:

export EDITOR=/bin/vi
export VISUAL=vi

or

export EDITOR=/usr/bin/vim
export VISUAL=vim

or

export EDITOR=/bin/nano
export VISUAL=nano

Similar Posts:

2 comments on “How to change default crontab editor

Leave a Reply

Your email address will not be published.