Sunday, May 29, 2011

set editor for crontab solaris 555

I was trying to use "crontab -e" under Solaris and I was getting back a number "555". This is related to EDITOR variable missing. Here is how it gets solved (Using bash shell)
$ vi ~/.bash_profile
export EDITOR=/usr/bin/vi
$ source ~/.bash_profile
$ crontab -e

No comments:

Followers