Skip to content

Instantly share code, notes, and snippets.

@anokun7
Created March 9, 2020 19:11
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 anokun7/bc37aa6a0dc239dc64a5f8b36f8a5ea0 to your computer and use it in GitHub Desktop.
Save anokun7/bc37aa6a0dc239dc64a5f8b36f8a5ea0 to your computer and use it in GitHub Desktop.
To generate random strings (simulate logging) to a file

To generate random strings (simulate logging)

 while true ; do head /dev/urandom | tr -dc A-Za-z0-9 | head -c 13 | tee /var/log/100.log ; echo "" >> /var/log/100.log ; sleep 1; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment