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