tldr/common/rm.md
Peter Tripp e4118b1585 A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler

Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 12:36:05 -08:00

248 B

rm

Remove files or directories

  • Remove files from arbitrary

rm {{/path/to/file}} {{/otherpath/to/file2}}

  • Remove recursively a directory and all it's subdirectories

rm -r {{/path/to/folder}}

  • Prompt before every removal

rm -i *