How To Clear Commands History From Terminal In Linux
In Linux based operating systems like Ubuntu and centos,Fedora most of users execute commands from Terminal.Similarly in Mac machine also there is option to execute commands from the terminal.In some cases this commands storage trouble to users when someone log and check the previous history.
Other users can easily track the previous commands from the terminal using history command.
Here is the simple step to avoid this kind of recorded commands.Simple enter the below commands that will erase the previous history.
history -c
All the history is generally stored in ~/.bash_history file but using this commands entries will erase.
Tags:History,Linux History,Commands History,History save,Tmp,Temp files,Cache files
Add Comment