How To Clear A Specific Command From Bash History In Linux

This tutorial describes how to clear a specific command from BASH history.

As we all know, history command is used to view the list of recently-executed commands in Terminal. Not just commands, It will show you the list of recent activities in your Terminal. Every commands you execute in the Terminal will be recorded in a file called .bash_history in your HOME directory.