1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 21:24:54 +02:00
tldr/pages/common/rm.md
2016-03-25 14:17:25 -04:00

19 lines
332 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 its subdirectories:
`rm -r {{/path/to/folder}}`
- Remove directory without prompt:
`rm -rf {{/path/to/folder}}`
- Prompt before every removal:
`rm -i {{\*}}`