calango@programming.dev to Programmer Humor@programming.dev · 21 hours agoWho hasn't typed a risky command? Throw the first stone!programming.devimagemessage-square30linkfedilinkarrow-up1443arrow-down112file-text
arrow-up1431arrow-down1imageWho hasn't typed a risky command? Throw the first stone!programming.devcalango@programming.dev to Programmer Humor@programming.dev · 21 hours agomessage-square30linkfedilinkfile-text
minus-squarejaybone@lemmy.ziplinkfedilinkEnglisharrow-up2·15 hours agoRight, so then if asterisk wildcards don’t match on . and … then, in most common distros where there is no dot in any of the top level dirs in /, “rm -rf *.*” in the top level / dir is basically harmless and likely a noop. So OP is wrong.
Right, so then if asterisk wildcards don’t match on . and … then, in most common distros where there is no dot in any of the top level dirs in /, “rm -rf *.*” in the top level / dir is basically harmless and likely a noop.
So OP is wrong.