Share this post with your friends
history 1 history 2 lscpu 3 historyThis is the output of the
historycommand of my Ubuntu computer. In real scenario you may have hundreds of commands on the history. To clear the command history of your terminal on Linux, run the following command,
history -cThat's how you remove the history of your shell on Linux.