General_Effort@lemmy.world to memes@lemmy.world · 1 day agoI know just the audience for thislemmy.worldimagemessage-square112fedilinkarrow-up11.14Karrow-down122cross-posted to: [email protected]
arrow-up11.12Karrow-down1imageI know just the audience for thislemmy.worldGeneral_Effort@lemmy.world to memes@lemmy.world · 1 day agomessage-square112fedilinkcross-posted to: [email protected]
minus-squarestebo@lemmy.dbzer0.comlinkfedilinkarrow-up11·23 hours 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-squareZorsith@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up2arrow-down1·edit-219 hours agoCorrect me if im wrong, i assume switch “-rf” is short for “Root File”, for the starting point of recursion
minus-squareJrockwar@feddit.uklinkfedilinkarrow-up14·18 hours 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-squarenumerator3962@lemmynsfw.comlinkfedilinkarrow-up6·16 hours 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.