Skip to content

Instantly share code, notes, and snippets.

@xpepper
Created April 17, 2013 07:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xpepper/5402431 to your computer and use it in GitHub Desktop.
Save xpepper/5402431 to your computer and use it in GitHub Desktop.
Removing the first 11 lines from a crontab
crontab -l > CT; sed -i -e "1,11d" CT; crontab CT; rm -f CT; crontab -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment