I know this is probably common knowledge to Linux and Unix geeks but every time I need to remove a directory in my SSH terminal I search to google for the command. So here it is for anyone else who’s out there and googling!
rm -r -f YourDirectory
rm = remove / delete
-r = recursively deletes the directory and all files in it, including subdirectories
-f = will not ask for confirmation before deleting