fix usage example and separated into two example (#20195)

This commit is contained in:
Benabadji Mohammed Salim
2018-10-27 16:25:36 +01:00
committed by Huyen Nguyen
parent f2e384ce68
commit 77137b1496

View File

@ -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: