rm -rf

Delete a directory and everything inside it

rm -rf (recursive force) deletes a directory and all its contents without prompting. It is the most dangerous command. A misplaced space can wipe the wrong directory. Always verify the path first.

Example

$ rm -rf /tmp/old-build/
Tip: Type it yourself in the terminal below - reading is not the same as doing.