shuf(1) General Commands Manual shuf(1)

shuf - Shuffle the input by outputting a random permutation of input lines. Each output permutation is equally likely. With no FILE, or when FILE is -, read standard input.

shuf [-e|--echo] [-i|--input-range] [-n|--head-count] [-o|--output] [--random-source] [-r|--repeat] [-z|--zero-terminated] [-h|--help] [-V|--version] [file-or-args]

Shuffle the input by outputting a random permutation of input lines. Each output permutation is equally likely. With no FILE, or when FILE is -, read standard input.

treat each ARG as an input line
treat each number LO through HI as an input line
output at most COUNT lines
write result to FILE instead of standard output
get random bytes from FILE
output lines can be repeated
line delimiter is NUL, not newline
Print help
Print version
[file-or-args]

v0.0.26

shuf 0.0.26