How to remove a directory


This command lets you remove a directory. It will remove a directory only when it is completely empty. It prevents you from deleting directories with content in them.

$ rmdir test1


We welcome your comments, questions, corrections and additional information relating to this article. Your comments may take some time to appear. Please be aware that off-topic comments will be deleted.

If you need specific help with your account, feel free to contact our Support Team. Thank you.

Need help? We're always here for you.

× Close