Skip to content

Instantly share code, notes, and snippets.

@soffes
Forked from kmorey/gist:67120
Created February 19, 2009 21:33
Show Gist options
  • Save soffes/67133 to your computer and use it in GitHub Desktop.
Save soffes/67133 to your computer and use it in GitHub Desktop.
#!/bin/bash
while [ 1 ]
do
if [ ! -e $1 ]
then
echo "Created"
echo $2 > $1
fi
n=$RANDOM
let "n = (n % 1) + 5"
sleep $n
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment