rcaldous / Clear Bash history

Last active 3 months ago

Like 0

Don't want to be tempted to up arrow?

rcaldous revised this gist 2 years ago · 4bd909c

1 file changed, 1 insertion

clear_bash.sh (file created)
@@ -0,0 +1 @@
1 + cat /dev/null > ~/.bash_history && history -c && exit