Tags:

Change the default crontab editor

Thursday, February 10, 2011 EST

by: Eric Potvin

Tags: ubuntu linux vim

Some Linux Based OS does not comes with your favorites editor. And maybe in some case the default editor is not the one you are used to. For example, you need to update the crontab:

crontab -e

pico or nano, (for example) opens up.

I personally have a preference for VI and I wanted to change it to the editor I am used to. To update the default editor you simply need to execute:

export VISUAL='vi'

Now when you run:

crontab -e

VI will open up. enjoy!

Be the first to reply!

No comments!
Share this article:

Add a comment

* If your comment require a response from us, please make sure you leave your email

Captcha

* is required
The posting of advertisements, profanity, or personal attacks is prohibited.
Please review our terms of use

Latest Articles

Top Articles

Category List

Top of the page
Loading, please wait ...