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