How to delete an entire directory via SSH

I know this is probably common knowledge to Linux and Unix but here it is
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