Cookie

Cencellare the history of commands from the terminal history is a simple operation. Default, the last 500 commands type in termilane are stored in the hidden file “.bash_history“. The previously typed commands can be read quickly by using the arrow keys (“freccia its” and “down arrow“). This makes it easy to invoke a command recently typed, but it could be a security issue if that session was used by more people. So how does one delete the command history?

To read the complete list of the command history from terminal “for the logged in user” just type the command from terminal “history“.

To delete history just type “history -c“.

This will delete the only user logged in History, you will have to repeat for every other user you want to remove the history of the shell.


TheJoe

I keep this blog as a hobby by 2009. I am passionate about graphic, technology, software Open Source. Among my articles will be easy to find music, and some personal thoughts, but I prefer the direct line of the blog mainly to technology. For more information contact me.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.