| Author |
Message |
yosssi
Joined: 18 Oct 2003
Posts: 3
|
| Posted: Sun Nov 02, 2003 6:28 pm Post subject: Problem with crontab(redhat) |
|
|
$ crontab -e
no crontab for yosssi - using an empty one
/bin/sh: line 1: /bin/vi: No such file or directory
crontab: "/bin/vi" exited with status 127
Thanks for your help. |
|
| Back to top |
|
jtrh
Joined: 05 Oct 2003
Posts: 14
Location: Santiago, Chile
|
| Posted: Sun Nov 02, 2003 6:37 pm Post subject: |
|
|
You don't have vi installed, or it couldn't be found.
Try whereis vi to see if you need to install it.
Bye. |
|
| Back to top |
|
aaron
Joined: 12 Sep 2003
Posts: 27
|
| Posted: Sun Nov 02, 2003 7:18 pm Post subject: |
|
|
or set the EDITOR environment variable to the name of the text editor you want to use instead. i prefer vim.
for example:
Code: export EDITOR=nano |
|
| Back to top |
|
jtrh
Joined: 05 Oct 2003
Posts: 14
Location: Santiago, Chile
|
| Posted: Sun Nov 02, 2003 7:28 pm Post subject: |
|
|
| nano is the best ;) |
|
| Back to top |
|
Ashen
Joined: 30 Aug 2003
Posts: 58
|
| Posted: Thu Nov 06, 2003 3:11 pm Post subject: |
|
|
/me looks at his pico and the nano..... I really must upgrade someday.
-Ashen |
|
| Back to top |
|
| |