blob: 83bc81727e21121b4e7ef26cb35c82c58f69d71e [file] [log] [blame]
rsccfa37a72004-04-10 18:53:55 +00001.TH RM 1
2.SH NAME
3rm \- remove files
4.SH SYNOPSIS
5.B rm
6[
7.B -fr
8]
9.I file ...
10.SH DESCRIPTION
11.I Rm
12removes files or directories.
13A directory is removed only if it is empty.
14Removal of a file requires write permission in its directory,
15but neither read nor write permission on the file itself.
16The options are
17.TP
18.B -f
19Don't report files that can't be removed.
20.TP
21.B -r
22Recursively delete the
23entire contents of a directory
24and the directory itself.
25.SH SOURCE
rscc3674de2005-01-11 17:37:33 +000026.B \*9/src/cmd/rm.c
rsccfa37a72004-04-10 18:53:55 +000027.SH "SEE ALSO"
rsc058b0112005-01-03 06:40:20 +000028.IR remove (3)