1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 01:18:00 +01:00
tldr/pages/common/rm.md

20 lines
333 B
Markdown
Raw Normal View History

# 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}}`
2016-01-15 10:23:41 +01:00
- Remove directory without prompt:
2016-01-14 14:43:17 +01:00
`rm -rf {{/path/to/folder}}`
- Prompt before every removal:
`rm -i {{\*}}`