fix usage example and separated into two example (#20195)
This commit is contained in:
committed by
Huyen Nguyen
parent
f2e384ce68
commit
77137b1496
@ -4,7 +4,19 @@ title: Bash rm
|
||||
|
||||
## Bash command: rm
|
||||
|
||||
**Delete a File/Directory** ,for example `rm hello`.
|
||||
### Usage
|
||||
|
||||
**Delete a File**
|
||||
|
||||
```bash
|
||||
rm <file name or file path>
|
||||
```
|
||||
|
||||
**Delete a Directory**
|
||||
|
||||
```bash
|
||||
rm -R <folder name or folder path>
|
||||
```
|
||||
|
||||
There are few commonly used arguments:
|
||||
|
||||
|
Reference in New Issue
Block a user