I think you'd be better off typing the following:
man rmdir
You should take not of the --ignore-on-non-empty or whatever the option is (I'm not at my Slackbox to give you the proper option, but if you read the man page, you'll find what you're looking for--and it's harder to delete your whole system with the rmdir command).
Hope this helps.