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       -z, --zero-terminated
35              end lines with 0 byte, not newline
36
37       --help display this help and exit
38
39       --version
40              output version information and exit
41
42       With no FILE, or when FILE is -, read standard input.
43

AUTHOR

45       Written by Paul Eggert.
46

REPORTING BUGS

48       Report shuf bugs to bug-coreutils@gnu.org
49       GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
50       General help using GNU software: <http://www.gnu.org/gethelp/>
51       Report shuf translation bugs to <http://translationproject.org/team/>
52
54       Copyright © 2010 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.4                  June 2018                           SHUF(1)
Impressum