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