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:
parent
56e9c9c74b
commit
c67218ec18
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue