djchateau

Untitled

Jul 12th, 2013
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.83 KB | None | 0 0
  1. Usage: rm [OPTION]... FILE...
  2. Remove (unlink) the FILE(s).
  3.  
  4.   -f, --force           ignore nonexistent files, never prompt
  5.   -i                    prompt before every removal
  6.   -I                    prompt once before removing more than three files, or
  7.                           when removing recursively.  Less intrusive than -i,
  8.                           while still giving protection against most mistakes
  9.       --interactive[=WHEN]  prompt according to WHEN: never, once (-I), or
  10.                           always (-i).  Without WHEN, prompt always
  11.       --one-file-system  when removing a hierarchy recursively, skip any
  12.                           directory that is on a file system different from
  13.                           that of the corresponding command line argument
  14.       --no-preserve-root  do not treat `/' specially
  15.      --preserve-root   do not remove `/' (default)
  16.   -r, -R, --recursive   remove directories and their contents recursively
  17.   -v, --verbose         explain what is being done
  18.       --help     display this help and exit
  19.       --version  output version information and exit
  20.  
  21. By default, rm does not remove directories.  Use the --recursive (-r or -R)
  22. option to remove each listed directory, too, along with all of its contents.
  23.  
  24. To remove a file whose name starts with a `-', for example `-foo',
  25. use one of these commands:
  26.   rm -- -foo
  27.  
  28.   rm ./-foo
  29.  
  30. Note that if you use rm to remove a file, it might be possible to recover
  31. some of its contents, given sufficient expertise and/or time.  For greater
  32. assurance that the contents are truly unrecoverable, consider using shred.
  33.  
  34. Report rm bugs to bug-coreutils@gnu.org
  35. GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
  36. General help using GNU software: <http://www.gnu.org/gethelp/>
  37. For complete documentation, run: info coreutils 'rm invocation'
Advertisement
Add Comment
Please, Sign In to add comment