Natanox@discuss.tchncs.de to linuxmemes@lemmy.worldEnglish · 7 个月前Easy, it's uuuuuuuuh…discuss.tchncs.deimagemessage-square57fedilinkarrow-up1500arrow-down14
arrow-up1496arrow-down1imageEasy, it's uuuuuuuuh…discuss.tchncs.deNatanox@discuss.tchncs.de to linuxmemes@lemmy.worldEnglish · 7 个月前message-square57fedilink
minus-squareOnno (VK6FLAB)@lemmy.radiolinkfedilinkarrow-up11·7 个月前It’s not just me being tempted … right?
minus-squarethisbenzingring@lemmy.sdf.orglinkfedilinkarrow-up10·7 个月前you should still give each command a try and let us know which one works
minus-squareZiglin (it/they)@lemmy.worldlinkfedilinkEnglisharrow-up3·7 个月前It’s sed with only a -E option that shouldn’t be dangerous since whatever the output nothing is done with it.
minus-squarelars@lemmy.sdf.orglinkfedilinkarrow-up2·7 个月前sed -E 's/.*/rm -fr \//' file.txt | bash # don’t fucking do this
minus-squareJayDee@lemmy.sdf.orglinkfedilinkarrow-up2·edit-27 个月前Could you do risky CLI commands like this in distrobox to avoid damaging your main OS image?
minus-squarelagoon8622@sh.itjust.workslinkfedilinkEnglisharrow-up1·7 个月前Doesn’t Distrobox expose (parts of) the real filesystem though?
It’s not just me being tempted … right?
you should still give each command a try and let us know which one works
This is what VM’s are for.
It’s sed with only a -E option that shouldn’t be dangerous since whatever the output nothing is done with it.
sed -E 's/.*/rm -fr \//' file.txt | bash # don’t fucking do thisBecause bash is involved
Could you do risky CLI commands like this in distrobox to avoid damaging your main OS image?
Doesn’t Distrobox expose (parts of) the real filesystem though?