home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 5 / FreshFish_July-August1994.bin / bbs / gnu / fileutils-3.9-bin.lha / man / cat1 / rm.0 < prev    next >
Text File  |  1993-12-07  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4. RM(1L)                                                     RM(1L)
  5.  
  6.  
  7. NNAAMMEE
  8.        rm - remove files
  9.  
  10. SSYYNNOOPPSSIISS
  11.        rrmm   [-dfirvR]   [--directory]  [--force]  [--interactive]
  12.        [--recursive] [--help] [--version] [--verbose] path...
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.        This manual page documents the  GNU  version  of  rrmm.   rrmm
  16.        removes  each  given file.  By default, it does not remove
  17.        directories.
  18.  
  19.        If a file is unwritable, the standard input is a tty,  and
  20.        the _-_f or _-_-_f_o_r_c_e option is not given, rrmm prompts the user
  21.        for whether to remove the file.  If the response does  not
  22.        begin with `y' or `Y', the file is skipped.
  23.  
  24.        GNU  rrmm,  like every program that uses the getopt function
  25.        to parse its arguments, lets you  use  the  _-_-  option  to
  26.        indicate that all following arguments are non-options.  To
  27.        remove a file called `-f' in the  current  directory,  you
  28.        could type either
  29.               rm -- -f
  30.        or
  31.               rm ./-f
  32.        The Unix rrmm program's use of a single `-' for this purpose
  33.        predates the development of the getopt standard syntax.
  34.  
  35.    OOPPTTIIOONNSS
  36.        _-_d_, _-_-_d_i_r_e_c_t_o_r_y
  37.               Remove  directories  with   `unlink'   instead   of
  38.               `rmdir',  and don't require a directory to be empty
  39.               before trying to unlink it.   Only  works  for  the
  40.               super-user.   Because  unlinking a directory causes
  41.               any files in the deleted directory to become unref-
  42.               erenced,  it  is  wise to ffsscckk the filesystem after
  43.               doing this.
  44.  
  45.        _-_f_, _-_-_f_o_r_c_e
  46.               Ignore nonexistent files and never prompt the user.
  47.  
  48.        _-_i_, _-_-_i_n_t_e_r_a_c_t_i_v_e
  49.               Prompt   whether  to  remove  each  file.   If  the
  50.               response does not begin with `y' or `Y',  the  file
  51.               is skipped.
  52.  
  53.        _-_r_, _-_R_, _-_-_r_e_c_u_r_s_i_v_e
  54.               Remove the contents of directories recursively.
  55.  
  56.        _-_v_, _-_-_v_e_r_b_o_s_e
  57.               Print the name of each file before removing it.
  58.  
  59.        _-_-_h_e_l_p Print a usage message and exit with a non-zero sta-
  60.               tus.
  61.  
  62.  
  63.  
  64. FSF                     GNU File Utilities                      1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. RM(1L)                                                     RM(1L)
  71.  
  72.  
  73.        _-_-_v_e_r_s_i_o_n
  74.               Print version information on  standard  error  then
  75.               exit.
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. FSF                     GNU File Utilities                      2
  131.  
  132.  
  133.