This is how to recursively delete a specified directory, including all files and all sub directories.
rm -rf DirectoryToDelete
rm : remove
-rf : recursively delete a specified directory, including all files and all sub directories. (note the f makes it delete without asking confirmation)