man(1) Manual page archive


     RM(1)                                                       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 direc-
          tory, 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)