2
0
Fork 0
mirror of https://github.com/Idnan/bash-guide.git synced 2018-11-09 02:29:39 +01:00

Removed -f option for rm command (#14)

This commit is contained in:
Ashish Kumar Badtiya 2017-04-04 23:14:21 +05:30 committed by Adnan Ahmed
parent 56e9c9c74b
commit c67218ec18

View file

@ -166,7 +166,7 @@ Where `filename1` is the source path to the file and `filename2` is the destinat
### i. `rm`
Removes a file. Using this command on a directory gives you an error.
`rm: directory: is a directory`
In order to remove a directory you have to pass `-rf` to remove all the content of the directory recursively.
In order to remove a directory you have to pass `-r` to remove all the content of the directory recursively.
```bash
rm filename
```