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-lines=LINES
26              output at most LINES 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 (default /dev/urandom)
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 bugs to <bug-coreutils@gnu.org>.
49
51       Copyright © 2007 Free Software Foundation, Inc.
52       This is free software.  You may redistribute copies  of  it  under  the
53       terms       of       the      GNU      General      Public      License
54       <http://www.gnu.org/licenses/gpl.html>.  There is NO WARRANTY,  to  the
55       extent permitted by law.
56

SEE ALSO

58       The  full documentation for shuf is maintained as a Texinfo manual.  If
59       the info and shuf programs are properly installed  at  your  site,  the
60       command
61
62              info shuf
63
64       should give you access to the complete manual.
65
66
67
68GNU coreutils 6.9                 March 2008                           SHUF(1)
Impressum