In this short post, we will see a command to delete history from Linux terminal.
To delete a single history you can use the following command:
history -d <history-number>Example
history -d 5The above command will delete the history number 5.
Learn the concepts, implementation details, and practical steps with a clean developer-focused walkthrough.
In this short post, we will see a command to delete history from Linux terminal.
To delete a single history you can use the following command:
history -d <history-number>history -d 5The above command will delete the history number 5.
