rsc | cfa37a7 | 2004-04-10 18:53:55 +0000 | [diff] [blame] | 1 | .TH RM 1 |
| 2 | .SH NAME |
| 3 | rm \- remove files |
| 4 | .SH SYNOPSIS |
| 5 | .B rm |
| 6 | [ |
| 7 | .B -fr |
| 8 | ] |
| 9 | .I file ... |
| 10 | .SH DESCRIPTION |
| 11 | .I Rm |
| 12 | 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 are |
| 17 | .TP |
| 18 | .B -f |
| 19 | Don't report files that can't be removed. |
| 20 | .TP |
| 21 | .B -r |
| 22 | Recursively delete the |
| 23 | entire contents of a directory |
| 24 | and the directory itself. |
| 25 | .SH SOURCE |
rsc | c3674de | 2005-01-11 17:37:33 +0000 | [diff] [blame] | 26 | .B \*9/src/cmd/rm.c |
rsc | cfa37a7 | 2004-04-10 18:53:55 +0000 | [diff] [blame] | 27 | .SH "SEE ALSO" |
rsc | 058b011 | 2005-01-03 06:40:20 +0000 | [diff] [blame] | 28 | .IR remove (3) |