Re: Setting the editor environment variable for crontabs in Fedora 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 29 July 2004 11:04 Keletso Keletso's cat walking on the keyboard  
wrote:

> Hopefully someone can offer assistance here. I am
> trying to edit user-defined crontabs which stored in
> /var/spool/cron using crontab -e. Now I am being
> informed I cannot use vi to edit those crontabs and
> instead must extract and export a different editor
> (pref VISUAL). Could anyone assist me with the steps
> (e.g. which env profile file must i change to make
> this accomodation and what is the script code).
>

I'm using vi to edit crontab, but you can simply changing the editor doing:
export EDITOR=emacs
crontab -e
that will start using emacs.
You can add the export= line to you .profile (or .bash_profile) file. Why 
aren't you using vi? It's quite fast for editing crontabs....

Luca

-- 
Luca Ferrari,
fluca1978@xxxxxxxxxxx
-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux