


RM(1L)							RM(1L)


NNAAMMEE
       rm - remove files

SSYYNNOOPPSSIISS
       rrmm   [-dfirvR]	[--directory]  [--force]  [--interactive]
       [--recursive] [--help] [--version] [--verbose] path...

DDEESSCCRRIIPPTTIIOONN
       This manual page documents the  GNU  version  of	rrmm.   rrmm
       removes	each  given file.  By default, it does not remove
       directories.

       If a file is unwritable, the standard input is a tty,  and
       the _-_f or _-_-_f_o_r_c_e option is not given, rrmm prompts the user
       for whether to remove the file.	If the response does  not
       begin with `y' or `Y', the file is skipped.

       GNU  rrmm,	like every program that uses the getopt function
       to parse its arguments, lets you	use  the  _-_-  option  to
       indicate that all following arguments are non-options.  To
       remove a file called `-f' in the	current  directory,  you
       could type either
	      rm -- -f
       or
	      rm ./-f
       The Unix rrmm program's use of a single `-' for this purpose
       predates the development of the getopt standard syntax.

   OOPPTTIIOONNSS
       _-_d_, _-_-_d_i_r_e_c_t_o_r_y
	      Remove  directories  with	`unlink'   instead   of
	      `rmdir',	and don't require a directory to be empty
	      before trying to unlink it.   Only  works	for  the
	      super-user.   Because  unlinking a directory causes
	      any files in the deleted directory to become unref-
	      erenced,	it  is	wise to ffsscckk the filesystem after
	      doing this.

       _-_f_, _-_-_f_o_r_c_e
	      Ignore nonexistent files and never prompt the user.

       _-_i_, _-_-_i_n_t_e_r_a_c_t_i_v_e
	      Prompt   whether	to  remove  each  file.	If  the
	      response does not begin with `y' or `Y',	the  file
	      is skipped.

       _-_r_, _-_R_, _-_-_r_e_c_u_r_s_i_v_e
	      Remove the contents of directories recursively.

       _-_v_, _-_-_v_e_r_b_o_s_e
	      Print the name of each file before removing it.

       _-_-_h_e_l_p Print a usage message and exit with a non-zero sta-
	      tus.



FSF			GNU File Utilities			1





RM(1L)							RM(1L)


       _-_-_v_e_r_s_i_o_n
	      Print version information on  standard  error  then
	      exit.






















































FSF			GNU File Utilities			2


