We'll use rmdir for the task, which removes only empty directories.
linux-tips.us
Feedback is always welcome.
Let's Learn To Remove A Directory • Linux Tips
Today's article is going to teach you how to remove a directory. This being Linux and rmdir, you can only remove empty directories.

Feedback is always welcome.