1 FAQ tagged "dev_null_file"
Viewing 1-1 of 1 FAQ -- Linux / UNIX: Clear bash history
Q. I’m using CentOS Linux server and how do I clear bash history?
A. Type the following command to clear your bash history:
>~/.bash_history
Another option is link ~/.bash_history to /dev/null:
ln -sf ~/.bash_history /dev/null
Viewing 1-1 of 1 FAQ - ( see all popular tags )



Recent Comments
Today ~ 5 Comments
Today ~ 1 Comment
Yesterday ~ 1 Comment
Yesterday ~ 2 Comments
Yesterday ~ 10 Comments