Created
October 30, 2017 16:41
-
-
Save ruben-rodriguez/e3dbc1c3508dfc639c73c681ef2b9627 to your computer and use it in GitHub Desktop.
Bash history removal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
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