clear history linux
> rm ~/.bash_history
> history -c
clear history linux
> rm ~/.bash_history
> history -c
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
how to delete command from terminal history
## Delete the bash history entry at offset OFFSET ##
history -d offset
history -d number
history -d 1013
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us