remove all txt file from dir code example Example: delete all files with specific name ubuntu find -type f -name '*text*' -delete