Linux Rulesimage SmoochyPit ( @SmoochyPit@beehaw.org ) 196@lemmy.blahaj.zoneEnglish • 10 months ago message-square44arrow-up1374
arrow-up1374imageLinux Rules SmoochyPit ( @SmoochyPit@beehaw.org ) 196@lemmy.blahaj.zoneEnglish • 10 months ago message-square44
minus-square mst ( @mst@discuss.tchncs.de ) linkfedilink3•10 months agoIsn’t it rf? Or do they both work?
minus-square zea ( @conneru64@lemmy.blahaj.zone ) linkfedilinkEnglish14•10 months agoIn most commands, the order of flags doesn’t matter
minus-square mustardman ( @mustardman@discuss.tchncs.de ) linkfedilinkEnglish8•10 months agoTry it and find out. spoiler Don’t try it and find out, they work the same
minus-square arekkusu ( @arekkusu@discuss.tchncs.de ) linkfedilink3•10 months agor and f are just flags, meaning recursive and force, so it doesn’t matter the order
minus-square mst ( @mst@discuss.tchncs.de ) linkfedilink4•edit-210 months 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-square arekkusu ( @arekkusu@discuss.tchncs.de ) linkfedilink4•10 months 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-square tonarinokanasan ( @tonarinokanasan@lemmy.sdf.org ) linkfedilink2•10 months 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