home *** CD-ROM | disk | FTP | other *** search
-
-
-
- RM(1L) MISC. REFERENCE MANUAL PAGES RM(1L)
-
-
-
- NAME
- rm - remove files
-
- SYNOPSIS
- rm [-dfirvR] [--directory] [--force] [--interactive]
- [--recursive] [--verbose] path...
-
- DESCRIPTION
- This manual page documents the GNU version of rm. rm
- 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, rm prompts
- the user for whether to remove the file. If the response
- does not begin with `y' or `Y', the file is skipped.
-
- GNU rm, 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 rm program's use of a single `-' for this purpose
- predates the development of the getopt standard syntax.
-
- OPTIONS
- -_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 unreferenced, it is wise to fsck
- 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.
-
- The long-named options can be introduced with `+' as well as
- `--', for compatibility with previous releases. Eventually
- support for `+' will be removed, because it is incompatible
- with the POSIX.2 standard.
-
-
-
- Sun Release 4.1 Last change: 1
-
-
-
-