2.9.11. Removing Files

Linux for Programmers and Users, Section 3.16

rm

Removes each specified file

SYNOPSIS

rm [options]… FILE
-f, --force

never prompt

-i, --interactive

prompt before removing

-R, -r, --recursive

Remove the contents dirctories recursively

../../_images/file_rm.png

Before and after for rm backups/temp.old