Skip to content

Instantly share code, notes, and snippets.

@frantic
Created February 8, 2013 22:21
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 frantic/4742429 to your computer and use it in GitHub Desktop.
Save frantic/4742429 to your computer and use it in GitHub Desktop.
Bash magic
^X ^E # edit command in $EDITOR, then execute it
!$ # last argument of last command
!:n # n-th argument of last command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment