Skip to content

Instantly share code, notes, and snippets.

@mcalavera81
Created November 15, 2015 14:11
Show Gist options
  • Save mcalavera81/8d031981cfdbefbee294 to your computer and use it in GitHub Desktop.
Save mcalavera81/8d031981cfdbefbee294 to your computer and use it in GitHub Desktop.
sleeping=1
if [ "$1" != "" ]; then
sleeping=$1
fi
echo " (___)"
echo " (o o)____/"
echo " @@ \\"
echo " \ ____, /"
echo " // //"
echo " ^^ ^^"
echo "Cowd started."
echo "Mooing every $sleeping seconds."
start=$(date +%s)
while true
do
now=$(date +%s)
echo "$(($now-$start)) Moo!"
sleep $sleeping
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment