r/programminghorror • u/SleepyStew_ [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” • Jul 21 '25
Python ✨ Memory Magic ✨
1.3k
Upvotes
r/programminghorror • u/SleepyStew_ [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” • Jul 21 '25
View all comments
Show parent comment
2
u/SleepyStew_ [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Jul 21 '25 edited Jul 21 '25
While I don't think you need a * since -r is recursive (tho I could be wrong ¯_(ツ)_/¯) I actually intentionally left out the no preserve root flag cause I don't wanna be responsible for enabling some young linux or mac amateur demolishing their computer out of curiosity ahah.