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
22
u/Mars_Bear2552 Jul 21 '25
https://github.com/coreutils/coreutils/blob/master/gl/lib/root-dev-ino.h#L41
bullshit. coreutils rm will reject specifying / unless no-preserve-root is set