Generate random permutations. More information: https://keith.github.io/xcode-man-pages/shuf.1.html.
shuf filename
shuf --head-count=5 filename
shuf filename --output=output_filename
shuf --input-range=1-10