How to Remove (Delete) Directory in Linux

There are several different ways to remove directories in Linux systems. If you use a Desktop file manager such as Gnome’s Files or KDE’s Dolphin then you can delete files and directories using the manager’s graphical user interface. But, if you are working on a headless server or want to remove multiple directories at once your best option is to delete the directories (folders) from the command line.

Source: LXer – How to Remove (Delete) Directory in Linux