Skip to content

Instantly share code, notes, and snippets.

@gering
Last active August 29, 2015 14:22
Show Gist options
  • Save gering/4223970adb86a26c2161 to your computer and use it in GitHub Desktop.
Save gering/4223970adb86a26c2161 to your computer and use it in GitHub Desktop.
Remove Bash History
# delete history
history -cw
# or
cat /dev/null > ~/.bash_history && history -c && exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment