Blob
1 .TH RM 12 .SH NAME3 rm \- remove files4 .SH SYNOPSIS5 .B rm6 [7 .B -fr8 ]9 .I file ...10 .SH DESCRIPTION11 .I Rm12 removes files or directories.13 A directory is removed only if it is empty.14 Removal of a file requires write permission in its directory,15 but neither read nor write permission on the file itself.16 The options are17 .TP18 .B -f19 Don't report files that can't be removed.20 .TP21 .B -r22 Recursively delete the23 entire contents of a directory24 and the directory itself.25 .SH SOURCE26 .B \*9/src/cmd/rm.c27 .SH "SEE ALSO"28 .IR remove (3)