Skip to content

Instantly share code, notes, and snippets.

@fishd72
Forked from smashism/random_sn
Created May 28, 2020 11:53
Show Gist options
  • Save fishd72/cca77a150ded3ad82bf5b91ad42778d7 to your computer and use it in GitHub Desktop.
Save fishd72/cca77a150ded3ad82bf5b91ad42778d7 to your computer and use it in GitHub Desktop.
random_sn
randomsn() {
python -c "import string; from random import randint, sample; print('VM' + ''.join(sample((string.ascii_lowercase + string.digits),10)))"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment