![](https://seccdn.libravatar.org/avatar/7f88c060e22f11c0b8a7e058d0258fe8.jpg?s=120&d=mm&r=g)
Is there anyway to edit crontab -e without having to use vi... I know nothing about vi. Prefer emacs. Rowan Reid Job Captain, Systems Administrator STUDIO 3 ARCHITECTS 909 982 1717
![](https://seccdn.libravatar.org/avatar/2e31f692bc8c07ce4f58f5567f86b6ff.jpg?s=120&d=mm&r=g)
Is there anyway to edit crontab -e without having to use vi... I know nothing about vi. Prefer emacs.
From the man page for crontab:
The -e option is used to edit the current crontab using the editor specified by the VISUAL or EDITOR environment variables. After you exit from the editor, the modified crontab will be installed automatically.
![](https://seccdn.libravatar.org/avatar/7f88c060e22f11c0b8a7e058d0258fe8.jpg?s=120&d=mm&r=g)
Is there anyway to edit crontab -e without having to use vi... I know nothing about vi. Prefer emacs.
From the man page for crontab:
The -e option is used to edit the current crontab using the editor specified by the VISUAL or EDITOR environment variables. After you exit from the editor, the modified crontab will be installed automatically.
I saw that ... How do I change the editor variable I imagine it is in bashrc .. No luck.
![](https://seccdn.libravatar.org/avatar/98a99ec06421e9c7299f284a0d1fba6e.jpg?s=120&d=mm&r=g)
from the command line... "export EDITOR=<insert favorite editor>" or edit the .bashrc in your home dir. - Herman Rowan Reid wrote:
Is there anyway to edit crontab -e without having to use
vi... I know
nothing about vi. Prefer emacs.
From the man page for crontab:
The -e option is used to edit the current crontab using the editor specified by the VISUAL or EDITOR environment variables. After you exit from the editor, the modified crontab will be installed automatically.
I saw that ... How do I change the editor variable I imagine it is in bashrc .. No luck.
-- "DRM... Digitally Retarded Media - content that cannot reach its full potential because of artificial restraints."
![](https://seccdn.libravatar.org/avatar/e4875fba809bee7a8701ffd3bd830274.jpg?s=120&d=mm&r=g)
On Tue, Nov 19, 2002 at 05:42:11PM -0800, Rowan Reid wrote:
Is there anyway to edit crontab -e without having to use vi... I know nothing about vi. Prefer emacs.
I saw that ... How do I change the editor variable I imagine it is in bashrc .. No luck.
EDITOR=emacs crontab -e Regards, -Kastus
![](https://seccdn.libravatar.org/avatar/861b5545c111d2257fa12e533e723110.jpg?s=120&d=mm&r=g)
The 02.11.19 at 17:42, Rowan Reid wrote:
I saw that ... How do I change the editor variable I imagine it is in bashrc .. No luck.
The default ~/.bashrc contains this note: # Some applications read the EDITOR variable to determine your favourite text # editor. So uncomment the line below and enter the editor of your choice :-) #export EDITOR=/usr/bin/vim #export EDITOR=/usr/bin/mcedit Cheers, Carlos Robinson
participants (5)
-
Carlos E. R.
-
Herman Knief
-
Konstantin (Kastus) Shchuka
-
Richard Sawkins
-
Rowan Reid