Deceptichum@quokk.au to Programmer Humor@programming.devEnglish · 1 day agodon't do ai and code kidsquokk.auimagemessage-square229fedilinkarrow-up11.12Karrow-down110
arrow-up11.11Karrow-down1imagedon't do ai and code kidsquokk.auDeceptichum@quokk.au to Programmer Humor@programming.devEnglish · 1 day agomessage-square229fedilink
minus-squareDanitos@reddthat.comlinkfedilinkarrow-up45·edit-215 hours agoStochastic rm /* -rf code runner.
minus-squareoozynozh@sh.itjust.workslinkfedilinkarrow-up11·15 hours agoyou’ll need a -r to really get the job done
minus-squarewh0se@lemmy.dbzer0.comlinkfedilinkarrow-up7·11 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·2 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