Jump to content

OSX: Editing Crontab with nano instead of vi


Leon
 Share

Recommended Posts

  • Administrators

I know that all of the vi people are going to blast me for this but I like nano much better for quick and dirty editing. So when it comes to editing the crontab here is a quick way to change the terminal editor.

 

EDITOR=nano crontab -e

 

You should be able to substitute any editor in the place of NANO, Mac OS X has PICO which I think is the same as nano.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...