remove files on terminal code example
Example 1: terminal remove files starting with
find . -name 'name*' -exec rm {} \;
Example 2: how to delete file using terminal command?
rm file_1.txt
#Works in the current directory
find . -name 'name*' -exec rm {} \;
rm file_1.txt
#Works in the current directory