~/.bash_history
holds the history.
To clear the bash history completely on the server. You can open terminal and type cat /dev/null > ~/.bash_history
Other alternative way is to link ~/.bash_history
to /dev/null
http://askubuntu.com/questions/191999/how-to-clear-bash-history-compeletly
~/.bash_history
holds the history.
To clear the bash history completely on the server. You can open terminal and type cat /dev/null > ~/.bash_history
Other alternative way is to link ~/.bash_history
to /dev/null
ln -sf /dev/null ~/.bash_history
파일 수정 자동화 sed (0) | 2013.06.27 |
---|---|
mintty bright blue (0) | 2013.05.03 |
What command to show Centos version running (0) | 2013.04.17 |
Disable The Mail Alert By Crontab Command (0) | 2013.04.05 |
(sh) 요일별 로그 파일 생성 (0) | 2013.03.22 |