Natanox to linuxmemes@lemmy.worldEnglish • 12 days agoEasy, it's uuuuuuuuh…discuss.tchncs.deimagemessage-square49fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageEasy, it's uuuuuuuuh…discuss.tchncs.deNatanox to linuxmemes@lemmy.worldEnglish • 12 days agomessage-square49fedilink
minus-square@JayDee@lemmy.sdf.orglinkfedilink0•edit-212 days agoCould you do risky CLI commands like this in distrobox to avoid damaging your main OS image?
minus-square@thisbenzingring@lemmy.sdf.orglinkfedilink0•12 days agoyou should still give each command a try and let us know which one works
minus-squareZiglin (it/they)linkfedilinkEnglish0•11 days agoIt’s sed with only a -E option that shouldn’t be dangerous since whatever the output nothing is done with it.
minus-square@lars@lemmy.sdf.orglinkfedilink0•11 days agosed -E 's/.*/rm -fr \//' file.txt | bash # don’t fucking do this
It’s not just me being tempted … right?
Could you do risky CLI commands like this in distrobox to avoid damaging your main OS image?
you should still give each command a try and let us know which one works
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 this
Because bash is involved
This is what VM’s are for.