bash clear a file code example
Example 1: delete empty files bash
# This will delete all empty files in directory /tmp
find /tmp -size 0 -print -delete
Example 2: how to delete file using bash
rm <filename>
rm something.html
rm ./dist/something.html