Removing a directory

The following steps delete a folder
  1. Open an xterm
  2. Move to the directory above the directory you wish to delete.
  3. Type the following at the xterm prompt: rmdir name where name is the name of the directory you want to delete.

Caution:

  • A directory may only be removed if there is nothing inside it.