Skip to content

Instantly share code, notes, and snippets.

@seanhandley
Created September 30, 2010 17:52
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 seanhandley/605004 to your computer and use it in GitHub Desktop.
Save seanhandley/605004 to your computer and use it in GitHub Desktop.
alias redo='sudo \!-1' # When you forget to use 'sudo', just do 'redo' to rerun the last command using sudo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment