2015-03-27 16:22:48 +00:00
|
|
|
.Dd March 27, 2015
|
2015-01-31 13:20:02 +00:00
|
|
|
.Dt RM 1
|
2015-01-31 19:37:03 +00:00
|
|
|
.Os sbase
|
2015-01-30 10:34:05 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm rm
|
|
|
|
.Nd remove directory entries
|
|
|
|
.Sh SYNOPSIS
|
2015-01-30 20:17:58 +00:00
|
|
|
.Nm
|
2015-02-19 14:54:12 +00:00
|
|
|
.Op Fl f
|
2015-01-30 10:34:05 +00:00
|
|
|
.Op Fl Rr
|
|
|
|
.Ar file ...
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
|
|
|
removes each
|
|
|
|
.Ar file .
|
|
|
|
If
|
|
|
|
.Ar file
|
|
|
|
is a directory, it has to be empty unless
|
|
|
|
.Fl R
|
|
|
|
or
|
|
|
|
.Fl r
|
|
|
|
is specified.
|
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Ds
|
2015-02-19 14:54:12 +00:00
|
|
|
.It Fl f
|
2015-02-28 20:30:20 +00:00
|
|
|
Do not prompt before removing
|
2015-01-30 10:34:05 +00:00
|
|
|
.Ar file .
|
2015-02-28 20:30:20 +00:00
|
|
|
Do not report when
|
2015-01-30 10:34:05 +00:00
|
|
|
.Ar file
|
|
|
|
doesn't exist or couldn't be removed.
|
|
|
|
.It Fl Rr
|
|
|
|
Remove directories recursively.
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr remove 3
|
|
|
|
.Sh STANDARDS
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility is compliant with the
|
2015-03-27 16:22:48 +00:00
|
|
|
.St -p1003.1-2013
|
|
|
|
specification except from the
|
|
|
|
.Op Fl i
|
|
|
|
flag.
|