The command to remove (delete) a directory is rmdir. One caveat is that the directory must be empty. If you want to delete a directory and all of its contents, you can use the rm command with the recursive switch set:
rm -r directory