You can use rm -rf dirname but be careful with the -rf switch especially as root.