ubuntu terminal remove all specific files code example
Example 1: delete all files with specific name ubuntu
find -type f -name '*text*' -delete
Example 2: how to remove all files with a certain file type in terminal
rm -rf ./*.tmp
find -type f -name '*text*' -delete
rm -rf ./*.tmp