remove all files in a directory linux com code example
Example 1: how to remove folder and its contents in linux
rm -rf dirname
Example 2: how to delete file using bash
rm <filename>
rm something.html
rm ./dist/something.html
rm -rf dirname
rm <filename>
rm something.html
rm ./dist/something.html