tldr/pages/common/rm.md

16 lines
267 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}}`
- Prompt before every removal:
`rm -i {{\*}}`