remove file type linux code example
Example 1: ubuntu delete all files with extension
cd <dir>
find . -type f -iname \*.jpg -delete
Example 2: how to delet file comand promt linux
#how to remove Files in Linux
rm filename
cd <dir>
find . -type f -iname \*.jpg -delete
#how to remove Files in Linux
rm filename