Erasing history

From Edgar BV Wiki
Jump to navigation Jump to search

to delete your history you can run

history -c

or you can delete ~/.bash_history

history -c clears the history buffer before it is written to .bash_history

you can also

unset HISTFILE