delete a file from terminal 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
Example 3: how to delete file using terminal command?
rm file_1.txt
#Works in the current directory