1 '\" Copyright (C) 1998, 1999, 2001, 2003, 2004, 2006 Free Software
4 '\" This is free software. You may redistribute copies of it under the terms
5 '\" of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
6 '\" There is NO WARRANTY, to the extent permitted by law.
8 rm \- remove files or directories
11 documents the GNU version of
14 removes each specified file. By default, it does not remove
17 If the \fI\-I\fR or \fI\-\-interactive\=once\fR option is given,
18 and there are more than three files or the \fI\-r\fR, \fI\-R\fR,
19 or \fI\-\-recursive\fR are given, then
21 prompts the user for whether to proceed with the entire operation. If
22 the response is not affirmative, the entire command is aborted.
24 Otherwise, if a file is unwritable, standard input is a terminal, and
25 the \fI\-f\fR or \fI\-\-force\fR option is not given, or the
26 \fI\-i\fR or \fI\-\-interactive\=always\fR option is given,
28 prompts the user for whether to remove the file. If the response is
29 not affirmative, the file is skipped.
32 unlink(1), unlink(2), chattr(1), shred(1)