UNIX: Recursive Delete Directory / Files

in Categories , , last updated April 15, 2013

How do I delete (remove) a directory called $HOME/foo and its content including all files and sub-directories under Unix like operating systems? What is the best way to completely delete /tmp/foo/ with all it’s content?