Hi,
I would like to know commands which i have executed on terminal should not be present in the history.How can i approch please help me.
Regards,
Mastan
Hi,
I would like to know commands which i have executed on terminal should not be present in the history.How can i approch please help me.
Regards,
Mastan
Add the following line to your .bashrc file
HISTCONTROL=ignorespace
By doing this, the commands you don't want to record in history can be escaped by adding a space in the beginning