Linux Hint published a tutorial about how to clear command history in Linux.
How to clear command history in Linux
The bash history stores the records of all terminal commands which are executed by a user on the command-line Linux system. Using the history feature, you can easily locate the previously executed commands on your Linux system through the arrow keys navigation. In this article, how to clear command history in Linux is explained.
How to clear command history in Linux – Linux Hint