mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-21 17:01:44 +03:00
20 lines
338 B
Markdown
20 lines
338 B
Markdown
# rm
|
|
|
|
> Remove files or directories.
|
|
|
|
- Remove files from arbitrary locations:
|
|
|
|
`rm {{/path/to/file}} {{/otherpath/to/file2}}`
|
|
|
|
- Remove recursively a directory and all it's subdirectories:
|
|
|
|
`rm -r {{/path/to/folder}}`
|
|
|
|
- Remove file/directory without prompt:
|
|
|
|
`rm -rf {{/path/to/folder}}`
|
|
|
|
- Prompt before every removal:
|
|
|
|
`rm -i {{\*}}`
|