SmoochyPit@beehaw.org to 196@lemmy.blahaj.zoneEnglish · 1 year agoLinux Rulesbeehaw.orgimagemessage-square44fedilinkarrow-up1361arrow-down10
arrow-up1361arrow-down1imageLinux Rulesbeehaw.orgSmoochyPit@beehaw.org to 196@lemmy.blahaj.zoneEnglish · 1 year agomessage-square44fedilink
minus-squarezea@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up14·1 year agoIn most commands, the order of flags doesn’t matter
minus-squaremustardman@discuss.tchncs.delinkfedilinkEnglisharrow-up7·1 year agoTry it and find out. spoiler Don’t try it and find out, they work the same
minus-squarearekkusu@discuss.tchncs.delinkfedilinkarrow-up3·1 year agor and f are just flags, meaning recursive and force, so it doesn’t matter the order
minus-squaremst@discuss.tchncs.delinkfedilinkarrow-up4·edit-21 year agoSo it will remove everything in the / directory and all its subfolders without further asking. Would it destroy or brick my device? Or just delete the OS and all my data?
minus-squarearekkusu@discuss.tchncs.delinkfedilinkarrow-up4·1 year agoIt shouldn’t brick your PC, but it has happened as a result of computers improperly complying with UEFI spec. There are far easier and safer ways to clear a hard drive than deleting every file and folder recursively.
minus-squaretonarinokanasan@lemmy.sdf.orglinkfedilinkarrow-up2·1 year agoThe first step of which would be, don’t try to clear a hard drive while you have it mounted
Isn’t it rf? Or do they both work?
In most commands, the order of flags doesn’t matter
Try it and find out.
spoiler
Don’t try it and find out, they work the same
r and f are just flags, meaning recursive and force, so it doesn’t matter the order
So it will remove everything in the / directory and all its subfolders without further asking.
Would it destroy or brick my device? Or just delete the OS and all my data?
It shouldn’t brick your PC, but it has happened as a result of computers improperly complying with UEFI spec. There are far easier and safer ways to clear a hard drive than deleting every file and folder recursively.
The first step of which would be, don’t try to clear a hard drive while you have it mounted