Oct 7, 2018

[HDGEM] How to clear Command line history in Linux

To clear the history, just run any one of the following command after you're done:

history -c

Or

history -cw
The above commands will clear the recently-executed command in the Terminal. Please remember that you should run 'history' command after you executing all commands.

--
Posted By Blogger to HDGEM at 4/07/2017 01:15:00 PM