shuf

The shuf command generates random permutations from input file to standard output.
Example:

$ cat file 
1 1 1 1 1
2 2 2 2 2
3 3 3 3 3
4 4 4 4 4
5 5 5 5 5
$ shuf file 
1 1 1 1 1
4 4 4 4 4
3 3 3 3 3
2 2 2 2 2
5 5 5 5 5
$ shuf file 
2 2 2 2 2
4 4 4 4 4
1 1 1 1 1
5 5 5 5 5
3 3 3 3 3