


      RRRRMMMM((((1111))))                       ((((UUUUNNNNIIIIXXXX 5555....0000))))                      RRRRMMMM((((1111))))



      NNNNAAAAMMMMEEEE
           rm, rmdir  - remove files or directories

      SSSSYYYYNNNNTTTTAAAAXXXX
           rrrrmmmm [ ----ffffrrrriiii ] file ...

           rrrrmmmmddddiiiirrrr dir ...

      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
           RRRRmmmmddddiiiirrrr removes one or more directories, which must be empty.

           RRRRmmmm removes one or more file entries from a directory.  If an
           entry was the last link to the file, the file is destroyed.

           Removal of a file requires write permission in its
           directory, but neither read nor write permission on the file
           itself.

           If _f_i_l_e has no write permission, and the standard input is
           the terminal, rrrrmmmm prints its access code and prompts the user
           for go-ahead to remove that file.  User response must begin
           with yyyy, or the file will not be removed.

           ----ffff specifies that no questions will be asked before rrrrmmmm
           removes files without write permission.

           If the standard input is not a terminal, no questions are
           asked.

           RRRRmmmm ----rrrr _d_i_r_e_c_t_o_r_y causes rrrrmmmm to remove each file in the
           directory (unless it has no write permission in which case
           it will ask), and then the directory itself.

           RRRRmmmm ----iiii _f_i_l_e_s specifies that rrrrmmmm will interactively ask whether
           to delete each file.

           RRRRmmmm ----iiiirrrr _d_i_r_e_c_t_o_r_i_e_s specifies that rrrrmmmm will ask which named
           directories you want to examine, and then which files within
           your selected directories you want to remove, then which
           directories you want to remove.

           It is forbidden to remove the file ........ merely to avoid the
           antisocial consequences of inadvertently doing something
           like:

                rrrrmmmm ----rrrr ....****

      SSSSEEEEEEEE AAAALLLLSSSSOOOO
           unlink(2).






      Page 1                                                   (9010-E)



