clear the bash command history code example
Example: delete command from history
Just check the enumeration of your commands history and then delete them:
history -d 7 #Deletes seventh command in your history list
Just check the enumeration of your commands history and then delete them:
history -d 7 #Deletes seventh command in your history list