Deceptichum@quokk.au to Programmer Humor@programming.devEnglish · 1 day agodon't do ai and code kidsquokk.auimagemessage-square243linkfedilinkarrow-up11.18Karrow-down111
arrow-up11.17Karrow-down1imagedon't do ai and code kidsquokk.auDeceptichum@quokk.au to Programmer Humor@programming.devEnglish · 1 day agomessage-square243linkfedilink
minus-squareDanitos@reddthat.comlinkfedilinkarrow-up45·edit-220 hours agoStochastic rm /* -rf code runner.
minus-squareoozynozh@sh.itjust.workslinkfedilinkarrow-up11·20 hours agoyou’ll need a -r to really get the job done
minus-squarewh0se@lemmy.dbzer0.comlinkfedilinkarrow-up7·16 hours agoIf I recall correctly, it’s not required when you use /* as the shell expands it first (bash does, at least), running the command on all subfolders instead of the actual root. You can try it easily in a docker container in fact!
minus-squareTja@programming.devlinkfedilinkarrow-up1·7 hours agoI’m old. My first thought was to try it in a VM. shakes fist at cloud
Stochastic
rm /* -rfcode runner.you’ll need a
-rto really get the job doneAnd no preserve root. Or so I hear.
If I recall correctly, it’s not required when you use
/*as the shell expands it first (bash does, at least), running the command on all subfolders instead of the actual root.You can try it easily in a docker container in fact!
I’m old. My first thought was to try it in a VM.
shakes fist at cloud
Fixed, thanks