How to remove a directory

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
$

Updated
Viewed
32095 times

Need help? We're always here for you.

notmyip