What does rf in rm -rf stand for?
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
-r
Recursively removes directories and subdirectories in the argument list. The directory will be emptied of files and removed. The user is normally prompted for removal of any write-protected files which the directory contains. The write-protected files are removed without prompting, however, if the -f option is used, or if the standard input is not a terminal and the -i option is not used.
I believe it is recursive force