1SHUF(1)                          User Commands                         SHUF(1)
2
3
4

NAME

6       shuf - generate random permutations
7

SYNOPSIS

9       shuf [OPTION]... [FILE]
10       shuf -e [OPTION]... [ARG]...
11       shuf -i LO-HI [OPTION]...
12

DESCRIPTION

14       Write a random permutation of the input lines to standard output.
15
16       With no FILE, or when FILE is -, read standard input.
17
18       Mandatory  arguments  to  long  options are mandatory for short options
19       too.
20
21       -e, --echo
22              treat each ARG as an input line
23
24       -i, --input-range=LO-HI
25              treat each number LO through HI as an input line
26
27       -n, --head-count=COUNT
28              output at most COUNT lines
29
30       -o, --output=FILE
31              write result to FILE instead of standard output
32
33       --random-source=FILE
34              get random bytes from FILE
35
36       -r, --repeat
37              output lines can be repeated
38
39       -z, --zero-terminated
40              line delimiter is NUL, not newline
41
42       --help display this help and exit
43
44       --version
45              output version information and exit
46

AUTHOR

48       Written by Paul Eggert.
49

REPORTING BUGS

51       GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
52       Report any translation bugs to <https://translationproject.org/team/>
53
55       Copyright © 2021 Free Software Foundation, Inc.   License  GPLv3+:  GNU
56       GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
57       This  is  free  software:  you  are free to change and redistribute it.
58       There is NO WARRANTY, to the extent permitted by law.
59

SEE ALSO

61       Full documentation <https://www.gnu.org/software/coreutils/shuf>
62       or available locally via: info '(coreutils) shuf invocation'
63
64
65
66GNU coreutils 9.0                 March 2022                           SHUF(1)
Impressum