delete with bash code example
Example 1: bash history delete entry
Just check the enumeration of your commands history and then delete them:
history -d 7 #Deletes seventh command in your history list
Example 2: how to delete file using bash
rm <filename>
rm something.html
rm ./dist/something.html