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
15 lines
248 B
Markdown
15 lines
248 B
Markdown
# 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 *` |