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
|
|
|
# rm
|
|
|
|
|
2016-01-07 18:31:27 +01:00
|
|
|
> Remove files or directories.
|
2023-01-08 01:31:17 +10:00
|
|
|
> See also: `rmdir`.
|
2021-04-01 17:54:26 +02:00
|
|
|
> More information: <https://www.gnu.org/software/coreutils/rm>.
|
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
|
|
|
|
2023-01-08 01:31:17 +10:00
|
|
|
- Remove specific files:
|
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
|
|
|
|
2023-01-08 01:31:17 +10:00
|
|
|
`rm {{path/to/file1 path/to/file2 ...}}`
|
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
|
|
|
|
2023-01-08 01:31:17 +10:00
|
|
|
- Remove specific files ignoring nonexistent ones:
|
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
|
|
|
|
2023-01-08 01:31:17 +10:00
|
|
|
`rm -f {{path/to/file1 path/to/file2 ...}}`
|
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
|
|
|
|
2023-12-28 16:48:20 +01:00
|
|
|
- Remove specific files interactively prompting before each removal:
|
2016-01-14 21:43:17 +08:00
|
|
|
|
2023-01-08 01:31:17 +10:00
|
|
|
`rm -i {{path/to/file1 path/to/file2 ...}}`
|
2016-01-14 21:43:17 +08:00
|
|
|
|
2023-01-08 01:31:17 +10:00
|
|
|
- Remove specific files printing info about each removal:
|
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
|
|
|
|
2023-01-08 01:31:17 +10:00
|
|
|
`rm -v {{path/to/file1 path/to/file2 ...}}`
|
2016-08-08 08:08:40 +01:00
|
|
|
|
2023-12-28 16:48:20 +01:00
|
|
|
- Remove specific files and directories recursively:
|
2016-08-08 08:08:40 +01:00
|
|
|
|
2023-01-08 01:31:17 +10:00
|
|
|
`rm -r {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
|