kgl


To clear some specific the commands from the history of the terminal window


Just open up the hidden file named
.bash_history
in any text editor & delete whatever commands you want to remove from the history. This file is situated in the your home directory.

If someone is interested in deleting all the previously executed commands then:
"history -c" will do the job. 1