shithub: purgatorio

ref: 8a788aea84aad3bfbd5b39d78c1925654f3b9e14
dir: purgatorio/man/1/rm

View raw version
.TH RM 1
.SH NAME
rm \- remove file(s)
.SH SYNOPSIS
.B rm
[
.B -fr
]
.I file ...
.SH DESCRIPTION
.I Rm
removes the specified files or directories.
A directory is removed only if it is empty (but
see the
.B -r
option).
Removal of a file requires write permission in its directory, but requires neither read nor write permission on the file itself.  The options are:
.TP
.B -f
Suppress diagnostics
.TP
.B -r
Recursively remove a directory's substructure before removing the directory.
.SH SOURCE
.B /appl/cmd/rm.b
.SH "SEE ALSO"
.IR tiny (1),
.IR sys-remove (2)