Skip to content

Instantly share code, notes, and snippets.

@dmoulton
Created March 7, 2011 20:37
Show Gist options
  • Save dmoulton/859162 to your computer and use it in GitHub Desktop.
Save dmoulton/859162 to your computer and use it in GitHub Desktop.
Shortcut for seeing your recent bash history. Put it somewhere in your path. hist 20 gives last 20 commands. hist gives last 10
history | tail -$1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment