Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
bash_random.sh
#!/bin/bash
while true
do
if [[ $(($RANDOM % 2)) -eq 0 ]]
then
echo "000"
else
echo "111"
fi
sleep 0.1
printf "\n"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.