How to delete an empty directory

$ rm -d [directory_name]

Command
rm
Description
Deletes only empty directories. It will fail if the directory contains any files. Usage: rm -d [directory].
Deep Dive
Similar to the 'rmdir' command. Use this for safety when you only intend to remove empty folders.