How to clean typed history in your Linux system

The information about what you typed is continuously stored in most Linux distributions. If it is BASH than it stored in .bash_history file in your current user folder.

The easiest way to delete the history is to type the following command:

history –c

All records from the file .bash_history  will disappear.

clean history in Linux