Added rm usage and examples (#26957)
* Added rm usage and examples * md-ize code
This commit is contained in:
committed by
The Coding Aviator
parent
a7f1912adb
commit
773f0d18a0
@ -6,6 +6,10 @@ title: Bash rm
|
|||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
|
```bash
|
||||||
|
rm [options] [file_name]
|
||||||
|
```
|
||||||
|
|
||||||
**Delete a File**
|
**Delete a File**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -31,9 +35,9 @@ There are few commonly used arguments:
|
|||||||
This command is capable of deleting many files at once with ease. This can be beneficial, but also dangerous. Use at your own risk.
|
This command is capable of deleting many files at once with ease. This can be beneficial, but also dangerous. Use at your own risk.
|
||||||
|
|
||||||
To remove a nonempty folder for example, type:
|
To remove a nonempty folder for example, type:
|
||||||
`rm -rf folder`
|
```bash
|
||||||
|
rm -rf folder
|
||||||
|
```
|
||||||
|
|
||||||
### More Information:
|
### More Information:
|
||||||
* [Wikipedia](https://en.wikipedia.org/wiki/Rm_(Unix))
|
* [Wikipedia](https://en.wikipedia.org/wiki/Rm_(Unix))
|
||||||
|
Reference in New Issue
Block a user