Codewizard@hear-me.social to No Stupid Questions@lemmy.world · 6 days agowhat happens when you give the command in the command line rm -rf ?message-squaremessage-square28fedilinkarrow-up19arrow-down121file-text
arrow-up1-12arrow-down1message-squarewhat happens when you give the command in the command line rm -rf ?Codewizard@hear-me.social to No Stupid Questions@lemmy.world · 6 days agomessage-square28fedilinkfile-text
minus-squareHavatra@lemmy.ziplinkfedilinkEnglisharrow-up1·5 days agoIirc, it was Debian 10 (Buster). I thought they enforced it (rm did support it at the time), but perhaps it was tricked by using an empty variable or something?
minus-square0xKeshara@lemmy.dbzer0.comlinkfedilinkarrow-up2·5 days agoAhhh, I just re-read your comment, and yeah that would have been the case. I think another quick bypass without using the proper flag could be to use a wildcard (for example, rm -rf /*), I think that might work too maybe
Iirc, it was Debian 10 (Buster). I thought they enforced it (
rmdid support it at the time), but perhaps it was tricked by using an empty variable or something?Ahhh, I just re-read your comment, and yeah that would have been the case.
I think another quick bypass without using the proper flag could be to use a wildcard (for example, rm -rf /*), I think that might work too maybe