Jump to content

OSX: Editing Crontab with nano instead of vi


Leon

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...