Skip to content

Instantly share code, notes, and snippets.

@ethagnawl
Created April 21, 2017 18:27
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 ethagnawl/929087b6e0dbe17a61a1230186f45e83 to your computer and use it in GitHub Desktop.
Save ethagnawl/929087b6e0dbe17a61a1230186f45e83 to your computer and use it in GitHub Desktop.
populate log file
#!/bin/bash
x=1
while [ $x -le 22222 ]
do
echo "log entry: $x" >> example.log
x=$(( $x + 1 ))
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment