Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is the difference between rm and rmdir?
rm is to remove files, while rmdir is to remove an empty directory.
Both rm and rmdir can be used to remove files and directories. The difference is that rmdir is far more powerful in that it can be used to even remove write-protected files and directories, while rm can be used only for other kind of files and directories.
rm is to remove files, while rmdir is to remove directories.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!