We stand with our friends and colleagues in Ukraine. To support Ukraine in their time of need visit this page.
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
Need help? We're always here for you.