@[email protected] to [email protected] • 4 months agoI know just the audience for thislemmy.worldimagemessage-square113fedilinkarrow-up11.2K
arrow-up11.2KimageI know just the audience for thislemmy.world@[email protected] to [email protected] • 4 months agomessage-square113fedilink
minus-squarestebolinkfedilink11•4 months agoisn’t the command meant to be used on a certain path? like if you just graduated high school, you can just run “rm -rf ~/documents/homework/” ?
minus-square@[email protected]linkfedilinkEnglish4•edit-24 months agoCorrect me if im wrong, i assume switch “-rf” is short for “Root File”, for the starting point of recursion
minus-square@[email protected]linkfedilink18•4 months agoNo, -r and -f are two different switches. -r is recursive, used so that it also removes folders within the directory. -f is force (so overriding all confirmations, etc).
minus-square@[email protected]linkfedilink6•4 months agoIt’s two switches. The f makes the operation forced. And the r makes the operation recursive.
isn’t the command meant to be used on a certain path? like if you just graduated high school, you can just run “rm -rf ~/documents/homework/” ?
Correct me if im wrong, i assume switch “-rf” is short for “Root File”, for the starting point of recursion
No, -r and -f are two different switches. -r is recursive, used so that it also removes folders within the directory. -f is force (so overriding all confirmations, etc).
TIL
It’s two switches. The f makes the operation forced. And the r makes the operation recursive.