RomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish · edit-26 days agoChoose your pilllemmy.worldimagemessage-square84fedilinkarrow-up1234arrow-down110
arrow-up1224arrow-down1imageChoose your pilllemmy.worldRomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish · edit-26 days agomessage-square84fedilink
minus-squareOwOarchist@pawb.sociallinkfedilinkEnglisharrow-up4·edit-26 days agoI should make a Schrodinger’s Linux. Every command you enter has a 50% chance of being ignored, and the output of all commands is hidden and come with a 30s delay, so you never know whether the command was actually executed or not.
minus-squareMyk@kzoo.tolinkfedilinkarrow-up6·6 days ago@OwOarchist With bash. All things are possible. alias cat=schrodinger.sh #!/usr/bin/env bash set -euo pipefail if (( RANDOM % 2 )); then echo "meow" else command cat "$@" fi
I should make a Schrodinger’s Linux.
Every command you enter has a 50% chance of being ignored, and the output of all commands is hidden and come with a 30s delay, so you never know whether the command was actually executed or not.
@OwOarchist
With bash. All things are possible.
alias cat=schrodinger.sh#!/usr/bin/env bash set -euo pipefail if (( RANDOM % 2 )); then echo "meow" else command cat "$@" fi