delete contents of file with bash code example Example: how to delete file using bash rm <filename> rm something.html rm ./dist/something.html