Skip to content

Instantly share code, notes, and snippets.

@jthmiranda
Created March 28, 2014 04:07
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 jthmiranda/9825170 to your computer and use it in GitHub Desktop.
Save jthmiranda/9825170 to your computer and use it in GitHub Desktop.
Hidden Command on Terminal shell
TMP=$(history | tail -1 | awk '{print $1}') && history -d $TMP && 'command to hide'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment