Added more explanation for -f (#21863)

This commit is contained in:
tasmainawolf
2018-11-18 00:38:59 +08:00
committed by Christopher McCormack
parent 94071be846
commit 54f73c9596

View File

@ -21,15 +21,14 @@ rm -R <folder name or folder path>
There are few commonly used arguments: There are few commonly used arguments:
- `-r` , means to recursively delete all the folders inside a directory. - `-r` , means to recursively delete all the folders inside a directory.
- `-f` , means to forcefully delete anything folder or file. - `-f` , means to forcefully delete any folder or file.
- `-i` , will ask before deleting the file. - `-i` , will ask before deleting the file.
- `-v` , will explain what was deleted. - `-v` , will explain what was deleted.
### Warning ### Warning
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.
### More Information: ### More Information:
* [Wikipedia](https://en.wikipedia.org/wiki/Rm_(Unix)) * [Wikipedia](https://en.wikipedia.org/wiki/Rm_(Unix))
* [Man pages](http://man7.org/linux/man-pages/man1/rm.1.html)
* [Linux](https://linux.die.net/man/1/rm) * [Linux](https://linux.die.net/man/1/rm)