2004-04-10 18:53:55 +00:00
|
|
|
.TH RM 1
|
|
|
|
.SH NAME
|
|
|
|
rm \- remove files
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B rm
|
|
|
|
[
|
|
|
|
.B -fr
|
|
|
|
]
|
|
|
|
.I file ...
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.I Rm
|
|
|
|
removes files or directories.
|
|
|
|
A directory is removed only if it is empty.
|
|
|
|
Removal of a file requires write permission in its directory,
|
|
|
|
but neither read nor write permission on the file itself.
|
|
|
|
The options are
|
|
|
|
.TP
|
|
|
|
.B -f
|
|
|
|
Don't report files that can't be removed.
|
|
|
|
.TP
|
|
|
|
.B -r
|
|
|
|
Recursively delete the
|
|
|
|
entire contents of a directory
|
|
|
|
and the directory itself.
|
|
|
|
.SH SOURCE
|
2005-01-11 17:37:33 +00:00
|
|
|
.B \*9/src/cmd/rm.c
|
2004-04-10 18:53:55 +00:00
|
|
|
.SH "SEE ALSO"
|
2005-01-03 06:40:20 +00:00
|
|
|
.IR remove (3)
|