Set Default Text Editor For Crontab To VIM

 

In some of recent Ubuntu version the default text editor for crontab is NANO.

If you want to change it to VIM or VI editor, update following lines of code in your .barchrc file

export VISUAL=vim 

or

export EDITOR=vim 

-Sany

One comment on “Set Default Text Editor For Crontab To VIM

  1. Pingback: Ubuntu change crontab editor permanently | Sany's Linux and Open Source Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s