If you need to delete a directory, use the rmdir command. However, rmdir only lets you delete empty directories.

Example:

rmdir Pictures

If you need to delete directories that are not empty, use the rm command.

rm -rf Pictures