UnixServerAdmin

Server Administration & Management

How to disable history listing in console mode in Linux

Here is simple tip that will disable HISTORY listing. Open the terminal and run the following commands :-

# rm -f $HOME/.bash_history

# touch $HOME/.bash_history

# chmod 000 $HOME/.bash_history

June 22, 2012 Posted by | Tips & Tricks, Unix/Linux | , , | 1 Comment