how to delete files with terminal code example
Example 1: delete all files with specific name ubuntu
find -type f -name '*text*' -delete
Example 2: how to delete file using terminal command?
rm file_1.txt
#Works in the current directory
find -type f -name '*text*' -delete
rm file_1.txt
#Works in the current directory