Using a different editor to change your crontab

If you prefer not to use vi to edit your crontab, you can set the 'VISUAL' environment variable as follows:

export VISUAL=/usr/bin/joe

Just put the full path to your favourite editor.

You will need to do this every time you login or you can add it to a startup script/bashrc/profile etc..

Last updated: 07/06/2005