delete a file from terminal linux code example
Example 1: delete file linux terminal
rm filename
# or add -rf if you don't want to see confirm
Example 2: delete all files with specific name ubuntu
find -type f -name '*text*' -delete
rm filename
# or add -rf if you don't want to see confirm
find -type f -name '*text*' -delete