What does rf
in rm -rf
in Unix stand for?
More generally, I have a hard time remembering Unix commands and options because I don't understand what they stand for. Is there a resource that explain the meaning of these shorthands?
In rm
,
-r
stands for recursive -f
stands for force Doc :
man rm
said :
-f, --force ignore nonexistent files and arguments, never prompt -r, -R, --recursive remove directories and their contents recursively
rm
means remove
r
means recursive, which you have to use when removing an entire folder f
means force removal
combined, rm -rf someDirectory
means force the recursive removal of someDirectory
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With