Generate random permutations. More information: https://www.gnu.org/software/coreutils/shuf.
shuf path/to/file
shuf --head-count=5 path/to/file
shuf path/to/input --output=path/to/output
shuf --head-count=3 --input-range=1-10 --repeat