Wednesday, May 27, 2020

Clearing History in terminal in mac

Launch terminal and type the command below

rm ~/.bash_history


Now close the terminal using Command + Q and relaunch terminal.

Voila! Now your terminal has only one command in history the above one

No comments:

Post a Comment