Skip to content

Instantly share code, notes, and snippets.

@fnzv
Created October 20, 2022 18:12
Show Gist options
  • Save fnzv/bf56c71a1d68e33016d252f329d74cb2 to your computer and use it in GitHub Desktop.
Save fnzv/bf56c71a1d68e33016d252f329d74cb2 to your computer and use it in GitHub Desktop.
Generate random Alpha Numeric strings on txt file oneliner
for i in {1..100000}; do echo $(tr -dc A-Za-z0-9 </dev/urandom | head -c 5) >> output.txt;
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment