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       Mandatory  arguments  to  long  options are mandatory for short options
17       too.
18
19       -e, --echo
20              treat each ARG as an input line
21
22       -i, --input-range=LO-HI
23              treat each number LO through HI as an input line
24
25       -n, --head-count=COUNT
26              output at most COUNT lines
27
28       -o, --output=FILE
29              write result to FILE instead of standard output
30
31       --random-source=FILE
32              get random bytes from FILE
33
34       -r, --repeat
35              output lines can be repeated
36
37       -z, --zero-terminated
38              end lines with 0 byte, not newline
39
40       --help display this help and exit
41
42       --version
43              output version information and exit
44
45       With no FILE, or when FILE is -, read standard input.
46
47       GNU  coreutils  online  help:  <http://www.gnu.org/software/coreutils/>
48       Report shuf translation bugs to <http://translationproject.org/team/>
49

AUTHOR

51       Written by Paul Eggert.
52
54       Copyright  ©  2013  Free Software Foundation, Inc.  License GPLv3+: GNU
55       GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
56       This is free software: you are free  to  change  and  redistribute  it.
57       There is NO WARRANTY, to the extent permitted by law.
58

SEE ALSO

60       The  full documentation for shuf is maintained as a Texinfo manual.  If
61       the info and shuf programs are properly installed  at  your  site,  the
62       command
63
64              info coreutils 'shuf invocation'
65
66       should give you access to the complete manual.
67
68
69
70GNU coreutils 8.22               October 2018                          SHUF(1)
Impressum