shuffle
From NetBSD Wiki
The shuffle(1) tool is used to randomize a sequence of data. It is the antithesis of sort. It is written by Perry E. Metzger. Shuffle first appeared in NetBSD 1.4.
By default, it will use its arguments as input, and print them in random order:
$ shuffle a b c d e f g h c h g a f d b e
The -f option specify reading from a file:
$ cat testfile.txt a b c d $ shuffle -f testfile.txt c d b a
