rmdir

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
$

About Author

Leave a Reply

Your email address will not be published. Required fields are marked *