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