Recursive deletion of files and folder

This is a simple question, but one that often baffles users that are new to the command line of *nix.

To delete a folder and all of it’s contents (including subfolders) you must use -rf.


rm -rf example

REFERENCES: