Skip to content

Instantly share code, notes, and snippets.

@SystemZ
Created October 28, 2015 21:59
Show Gist options
  • Save SystemZ/c890062e6d3e4e484896 to your computer and use it in GitHub Desktop.
Save SystemZ/c890062e6d3e4e484896 to your computer and use it in GitHub Desktop.
Simple spam with date to textfile, useful for testing websocket log file read
#!/bin/bash
while :
do
echo "spam"
echo "$(date +%Y%m%d%H%M%S) blah" >> spam.txt
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment