NAME
rm - remove files or directories
SYNOPSIS
rm [OPTION]... [FILE]...
DESCRIPTION
This manual page documents the GNU version of rm. rm removes each specified file. By default, it does not remove directories. If the -I or --interactive=once option is given, and there are more than three files or the -r, -R, or --recursive are given, then rm prompts the user for whether to proceed with the entire operation. If the response is not affirmative, the entire command is aborted. Otherwise, if a file is unwritable, standard input is a terminal, and the -f or --force option is not given, or the -i or --interactive=always option is given, rm prompts the user for whether to remove the file. If the response is not affirmative, the file is skipped.
OPTIONS
Remove (unlink) the FILE(s). -f, --force ignore nonexistent files and arguments, never prompt -i prompt before every removal -I prompt once before removing more than three files, or when removing recursively; less intrusive than -i, while still giving protection against most mistakes --interactive[=WHEN] prompt according to WHEN: never, once (-I), or always (-i); without WHEN, prompt always --one-file-system when removing a hierarchy recursively, skip any directory that is on a file system different from that of the corresponding command line argument --no-preserve-root do not treat '/' specially --preserve-root do not remove '/' (default) -r, -R, --recursive remove directories and their contents recursively -d, --dir remove empty directories -v, --verbose explain what is being done --help display this help and exit --version output version information and exit By default, rm does not remove directories. Use the --recursive (-r or -R) option to remove each listed directory, too, along with all of its contents. To remove a file whose name starts with a '-', for example '-foo', use one of these commands: rm -- -foo rm ./-foo Note that if you use rm to remove a file, it might be possible to recover some of its contents, given sufficient expertise and/or time. For greater assurance that the contents are truly unrecoverable, consider using shred.
AUTHOR
Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering.
REPORTING BUGS
GNU coreutils online help: <http://www.gnu.org/software/coreutils/> Report rm translation bugs to <http://translationproject.org/team/>
COPYRIGHT
Copyright 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
unlink(1), unlink(2), chattr(1), shred(1) Full documentation at: <http://www.gnu.org/software/coreutils/rm> or available locally via: info '(coreutils) rm invocation'
More Linux Commands
manpages/xmlgraphics-fop.1.html
xmlgraphics-fop(1) - Formatter for Printing XSLT Processed X
Classname: org.apache.fop.cli.Main xmlgraphicsfop [fo | xml] infile [xsl file] [awt | pdf | mif | rtf | tiff | png | pcl | ps | txt | at [mime].........
manpages/net-snmp-config.1.html
net-snmp-config(1) - returns information about installed net
The net-snmp-config shell script is designed to retrieve the configuration information about the libraries and binaries dealing with the Simple Network Manageme
manpages/Tk_CreateGenericHandler.3.html
Tk_CreateGenericHandler(3) - associate procedure callback wi
Tk_CreateGenericHandler arranges for proc to be invoked in the future whenever any X event occurs. This mechanism is not intended for dispatching X events on wi
manpages/macpack.1.html
macpack(1) - Macintosh OS X Packager for managed gui assembl
macpack is a tool used to package managed assemblies (like System.Windows.Forms or Cocoa#) that require gui availability for deployment on Mac OS X. macpack wil
manpages/emacsclient.1.html
emacsclient(1) - tells a running Emacs to visit a file......
This manual page documents briefly the emacsclient command. Full documentation is available in the GNU Info format; see below. This manual page was originally w
manpages/Tk_GetJoinStyle.3.html
Tk_GetJoinStyle(3) - translate between strings and join styl
Tk_GetJoinStyle places in *joinPtr the X join style corresponding to string, which will be one of JoinBevel, JoinMiter, or JoinRound. Join styles are typically
manpages/glxinfo.1x.html
glxinfo(1x) - display info about a GLX extension and OpenGL
glxinfo lists information about the GLX extension, OpenGL capable visuals, and the OpenGL renderer on an X server. The GLX and renderer info includes the versio
manpages/getopt.3.html
getopt(3) - Parse command-line options - Linux manual page
getopt.3 - The getopt() function parses the command-line arguments. Its arguments argc and argv are the argument count and array as passed to the main() functio
manpages/ldap_dup.3.html
ldap_dup(3) - Duplicate and destroy LDAP session handles....
ldap_dup() duplicates an existing LDAP (LDAP *) session handle. The new session handle may be used concurrently with the original session handle. In a threaded
manpages/fbdevhw.4.html
fbdevhw(4) - os-specific submodule for framebuffer device ac
fbdevhw provides functions for talking to a framebuffer device. It is os-specific. It is a submodule used by other video drivers. A fbdevhw module is currently
manpages/SDL_Palette.3.html
SDL_Palette(3) - Color palette for 8-bit pixel formats......
Each pixel in an 8-bit surface is an index into the colors field of the SDL_Palette structure store in SDL_PixelFormat. A SDL_Palette should never need to be cr
manpages/pcre16_free_study.3.html
pcre16_free_study(3) Perl-compatible regular expressions....
This function is used to free the memory used for the data generated by a call to pcre[16|32]_study() when it is no longer needed. The argument must be the resu
