aboutsummaryrefslogtreecommitdiff
path: root/man/man1/rm.1
blob: 97893960ba0a562850cce9fd8c8e3c6cf58b6901 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.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
.B /usr/local/plan9/src/cmd/rm.c
.SH "SEE ALSO"
.IR remove (2)