mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
Base: Add rm(1) manpage
This commit is contained in:
parent
e0521cfb9d
commit
121bcc267d
Notes:
sideshowbarker
2024-07-17 22:35:35 +09:00
Author: https://github.com/networkException
Commit: 121bcc267d
Pull-request: https://github.com/SerenityOS/serenity/pull/11312
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
1 changed files with 31 additions and 0 deletions
31
Base/usr/share/man/man1/rm.md
Normal file
31
Base/usr/share/man/man1/rm.md
Normal 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
|
||||||
|
```
|
Loading…
Add table
Add a link
Reference in a new issue