Shell / Commands

rm

English

Overview

A command for deleting files or directories.

Details

A command that deletes a specified file or directory. There's no trash bin, and deletion is in principle irreversible. The -r option deletes recursively, and combining it with -f, which skips confirmation, gives rm -rf -- powerful, but a command that demands special care since targeting the wrong path can cause serious damage.

More Linux terms