home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / utility / misc / fileutil.lha / fileutils-3.3 / cat / rm.1 < prev    next >
Encoding:
Text File  |  1992-08-28  |  2.2 KB  |  67 lines

  1.  
  2.  
  3.  
  4. RM(1L)            MISC. REFERENCE MANUAL PAGES             RM(1L)
  5.  
  6.  
  7.  
  8. NAME
  9.      rm - remove files
  10.  
  11. SYNOPSIS
  12.      rm   [-dfirvR]   [--directory]   [--force]   [--interactive]
  13.      [--recursive] [--verbose] path...
  14.  
  15. DESCRIPTION
  16.      This manual page  documents  the  GNU  version  of  rm.   rm
  17.      removes  each  given  file.   By default, it does not remove
  18.      directories.  If a file is unwritable, the standard input is
  19.      a tty, and the -_f or --_f_o_r_c_e option is not given, rm prompts
  20.      the user for whether to remove the file.   If  the  response
  21.      does not begin with `y' or `Y', the file is skipped.
  22.  
  23.      GNU rm, like every program that uses the getopt function  to
  24.      parse  its arguments, lets you use the -- option to indicate
  25.      that all following arguments are non-options.  To  remove  a
  26.      file  called  `-f'  in the current directory, you could type
  27.      either
  28.           rm -- -f
  29.      or
  30.           rm ./-f
  31.      The Unix rm program's use of a single `-' for  this  purpose
  32.      predates the development of the getopt standard syntax.
  33.  
  34.   OPTIONS
  35.      -_d, --_d_i_r_e_c_t_o_r_y
  36.           Remove directories with `unlink'  instead  of  `rmdir',
  37.           and don't require a directory to be empty before trying
  38.           to unlink it.  Only works for the super-user.   Because
  39.           unlinking  a  directory causes any files in the deleted
  40.           directory to become unreferenced, it is  wise  to  fsck
  41.           the filesystem after doing this.
  42.  
  43.      -_f, --_f_o_r_c_e
  44.           Ignore nonexistent files and never prompt the user.
  45.  
  46.      -_i, --_i_n_t_e_r_a_c_t_i_v_e
  47.           Prompt whether to remove each file.   If  the  response
  48.           does not begin with `y' or `Y', the file is skipped.
  49.  
  50.      -_r, -_R, --_r_e_c_u_r_s_i_v_e
  51.           Remove the contents of directories recursively.
  52.  
  53.      -_v, --_v_e_r_b_o_s_e
  54.           Print the name of each file before removing it.
  55.  
  56.      The long-named options can be introduced with `+' as well as
  57.      `--',  for compatibility with previous releases.  Eventually
  58.      support for `+' will be removed, because it is  incompatible
  59.      with the POSIX.2 standard.
  60.  
  61.  
  62.  
  63. Sun Release 4.1           Last change:                          1
  64.  
  65.  
  66.  
  67.