4 ms·
This is adorable. [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live"
by mlLK 18y ago
This is adorable.
[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live"
- kqr2 18y agoYou may also need to do sudo.
- mleonhard 18y agosudo bash -c '[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live"'
- maximilian 18y agobut you'd have to type your password maybe, which would ruin the danger. Unless you'd been sudo'ing a lot.