Hi,
Can anybody tell me how to clear the history in linux ?
#history
Regards,
Tushar
Hi,
Can anybody tell me how to clear the history in linux ?
#history
Regards,
Tushar
There is a hidden file in your home folder named .bash_history
You can clear it
file contains roots history is
/root/.bash_history
Code:history -c
If your trying to clear unneeded stuff and cache run in the terminal.
sudo apt-get autoremove
then
sudo apt-get autoclean
Bookmarks