Skip to content

Instantly share code, notes, and snippets.

@vmanyushin
Created October 23, 2018 15:10
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 vmanyushin/99d7b14a46656c4a73f20d2f7a9f8b66 to your computer and use it in GitHub Desktop.
Save vmanyushin/99d7b14a46656c4a73f20d2f7a9f8b66 to your computer and use it in GitHub Desktop.
Random string generator
perl -e 'sub rndStr{ join"",@_[ map{rand @_}1..shift]};for($i=0;$i<$ARGV[0];$i++){ print rndStr($ARGV[1],'A'..'Z')."\n";}' 1 254
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment