Close
Social profiles

When you are using the terminal windows of a linux flavor, It will record all the commands that you type on the terminal window which makes it easy to retrieve and reuse them. By default, up to 500 commands that you have used are saved into a hidden file (~/.bash_history). You can access these commands by using your up/down keys on your keyboard. To view all the entries within the history, run the command

history

This will then display each entry within the .bash_history file. IF you are wanting to clear your history, just use the command:

history -c

If you have many accounts with in your PC, you have to do this for all the user accounts in the PC.

Check more Open Source related stuff from Linux Category.
Also you can check the Official Documentation.

Leave a Reply

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

Close