I’m currently in Command Line Basics lesson, and in the exercise I am told to delete the test directory. I used
rm -R (though in the Conquering the Command Line,
rm was not mentioned with the flag
-R, I added it because it was used with
cp to denote folder) and it worked.
However, I went to Google and found there is also command
rmdir to remove folders.
My question is: is there any difference between the two commands?