1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 16:18:12 +00:00

Base: Add rm(1) manpage

This commit is contained in:
networkException 2021-12-19 16:57:28 +01:00 committed by Brian Gianforcaro
parent e0521cfb9d
commit 121bcc267d

View file

@ -0,0 +1,31 @@
## Name
rm - Remove files
## Synopsis
```**sh
$ rm [options...] <path...>
```
## Description
`rm` removes files specified in `path`.
If a directory is specified in `path`, the `-r` (recursive) flag is required. Otherwise, an error occurs.
## Options
* `-r`, `--recursive`: Remove files and directories recursively
* `-f`, `--force`: Do not prompt before removing
* `-v`, `--verbose`: Display what files are removed
## Examples
```sh
# Remove README.md file
$ rm README.md
# Remove cpp-tests directory
$ rm -r cpp-tests
```