xref: /inferno-os/man/1/rm (revision 46439007cf417cbd9ac8049bb4122c890097a0fa)
RM 1
NAME
rm - remove file(s)
SYNOPSIS
rm [ -fr ] file ...
DESCRIPTION
Rm removes the specified files or directories. A directory is removed only if it is empty (but see the -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:

-f Suppress diagnostics

-r Recursively remove a directory's substructure before removing the directory.

SOURCE
/appl/cmd/rm.b
"SEE ALSO"
tiny (1), sys-remove (2)