Change your crontab editor

Filed Under Tools on 2007-06-17, 21:33

For those that use *nix, crontab is a wonderful tool. But when you’re working on a new server and crontab -e is bringing up the dreaded vi to edit it, I cringe. I know some people swear by vi, but I’m a pico or nano man myself. So the first thing I do is add the following to the .profile file in my home directory:

EDITOR=pico; export EDITOR

Tagged: ,


Comments

4 Responses to “Change your crontab editor”

  1. Mr pico on October 29th, 2008 8:42 am

    great, vi is a nightmare if you never use it.

  2. Cameron on February 17th, 2009 11:34 pm

    Pico or Nano? Fag.

  3. René on August 18th, 2009 7:21 am

    If you happen to be using Midnight Commander (apt-get install mc or yum install mc), then you could also use its excellent editor.

    EDITOR=”mc -e”; export EDITOR

  4. René on August 18th, 2009 3:21 am

    If you happen to be using Midnight Commander (apt-get install mc or yum install mc), then you could also use its excellent editor.

    EDITOR=”mc -e”; export EDITOR

Leave a Reply