terminal clear all history code example
Example: how to delete command from terminal history
## Delete the bash history entry at offset OFFSET ##
history -d offset
history -d number
history -d 1013
## Delete the bash history entry at offset OFFSET ##
history -d offset
history -d number
history -d 1013