
rmail | 383
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
-l Do not authenticate hosts via a nonroot .rhosts file. Ignored if
pluggable authentication module (PAM) support is enabled.
Control through /etc/pam.conf instead.
-L Do not authenticate hosts via .rhosts or hosts.equiv files.
Ignored if pluggable authentication module (PAM) support is
enabled. Control through /etc/pam.conf instead.
-n Suppress keep-alive messages.
rm
rm [options] files
Delete one or more files. To remove a file, you must have write
permission in the directory that contains the file, but you need not
have permission on the file itself. If you do not have write permis-
sion on the file, you will be prompted (y or n) to override. rm is
often aliased to rm -i, especially for the root user, to protect against
inadvertently deleting files.
Options
-d, --directory
Remove directories, even if they are not empty. Available only
to a privileged user.
-f, --force
Remove write-protected files without prompting.
--help
Print a help message and then exit.
-i, --interactive
Prompt for y (remove the file) or n (do not remove the file).
--no-preserve-root
Do not treat root (/) specially. This is the default.
--preserve-root
Do not operate recursively on root (/).
-r, -R, --recursive
If file is a directory, remove the entire directory and all its
contents, including subdirectories. ...