rm (Remove)
0%

Command Line · Lesson 13

rm (Remove)

Learn how to remove files and directories while checking targets and choosing safer rm options.

The rm command removes filesystem entries. Command-line removal normally does not send items to a desktop trash folder, and rm has no built-in undo, so confirm every target before you run it.