Skip to content

Glossary: Command Line and Git

rm

Also written: remove, rm -r, rm -rf

Deletes files permanently, with no Trash and no undo. `-r` deletes folders and their contents, `-i` asks first and `-rf` removes all warnings and is dangerous.

Where the book teaches it

Related terms

rmdirwildcard