Skip to content

Instantly share code, notes, and snippets.

@jmftrindade
Last active February 26, 2021 06:58
Show Gist options
  • Save jmftrindade/12e3d2c8d782064a46ae15999371b188 to your computer and use it in GitHub Desktop.
Save jmftrindade/12e3d2c8d782064a46ae15999371b188 to your computer and use it in GitHub Desktop.
generate rand numbers within a range
$ start=10
$ end=100
$ n=5
$ shuf -i $start-$end -n $n -r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment