how to delete all files with a certain extension in linux code example Example: delete all files with specific name ubuntu find -type f -name '*text*' -delete