home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / dev / gcc / gcc260utilsdoc.lha / gnu / man / man1 / rm.1 < prev    next >
Encoding:
Text File  |  1994-07-26  |  2.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. RM(1L)            Misc. Reference Manual Pages             RM(1L)
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      rm - remove files
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      rrrrmmmm [-dfirvR] [--directory] [--force] [-- interactive]  [ - -
  13.      recursive] [--help] [--version] [--verbose] path...
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      This manual page  documents  the  GNU  version  of  rrrrmmmm.   rrrrmmmm
  17.      removes  each  given  file.   By default, it does not remove
  18.      directories.
  19.  
  20.      If a file is unwritable, the standard input is  a  tty,  and
  21.      the  - _f or --_f_o_r_c_e option is not given, rrrrmmmm prompts the user
  22.      for whether to remove the file.  If the  response  does  not
  23.      begin with `y' or `Y', the file is skipped.
  24.  
  25.      GNU rrrrmmmm, like every program that uses the getopt function  to
  26.      parse  its arguments, lets you use the -- option to indicate
  27.      that all following arguments are non-options.  To  remove  a
  28.      file  called  ` -f' in the current directory, you could type
  29.      either
  30.           rm -- -f
  31.      or
  32.           rm ./-f
  33.      The Unix rrrrmmmm program's use of a single `-' for  this  purpose
  34.      predates the development of the getopt standard syntax.
  35.  
  36.   OOOOPPPPTTTTIIIIOOOONNNNSSSS
  37.      -_d, --_d_i_r_e_c_t_o_r_y
  38.           Remove directories with `unlink'  instead  of  `rmdir',
  39.           and don't require a directory to be empty before trying
  40.           to unlink it.  Only works for the super-user.   Because
  41.           unlinking  a  directory causes any files in the deleted
  42.           directory to become unreferenced, it is  wise  to  ffffsssscccckkkk
  43.           the filesystem after 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  response
  50.           does not begin with `y' or `Y', the file is skipped.
  51.  
  52.      -_r, -_R, --_r_e_c_u_r_s_i_v_e
  53.           Remove the contents of directories recursively.
  54.  
  55.      -_v, --_v_e_r_b_o_s_e
  56.           Print the name of each file before removing it.
  57.  
  58.      --_h_e_l_p
  59.           Print a usage  message  on  standard  output  and  exit
  60.  
  61.  
  62.  
  63. FSF              Last change: GNU File Utilities                1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. RM(1L)            Misc. Reference Manual Pages             RM(1L)
  71.  
  72.  
  73.  
  74.           successfully.
  75.  
  76.      --_v_e_r_s_i_o_n
  77.           Print version information on standard output then  exit
  78.           successfully.
  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. FSF              Last change: GNU File Utilities                2
  130.  
  131.  
  132.  
  133.