Skip to content

Instantly share code, notes, and snippets.

@fvigotti
Last active July 12, 2016 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fvigotti/2ac7fdd07b82ae3587eedf5be3951539 to your computer and use it in GitHub Desktop.
Save fvigotti/2ac7fdd07b82ae3587eedf5be3951539 to your computer and use it in GitHub Desktop.
#!/bin/bash
for ((i = 0; ; i++)); do echo "$i: $(date)" > $1; echo "looping $i , $(date)"; sleep 1; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment