I have couple of questions regarding Linux commands:
I want to delete a directory and contents of that directory. My question is will the following command delete the
workdirectory and contents of that directory, or it will delete only contents of that directory? I searched internet and went through some forums but its not clear whether it will delete that directory or not. If it deletes only the contents then what is the command to delete that directory?
rm -rf work
Is the following command correct to delete all zip files inside
testdirectory whose name starts with
Project? I think
-ris not required because it's a file. Please correct me if I am not wrong.
rm -f test\Project*.zip