Operating systems1 min readWikipedia, updated 28 November 2026
Shuf
1991 GNU Unix command
shuf is a command-line utility included in the textutils package of GNU Core Utilities for creating a standard output consisting of random permutations of the input.
The version of shuf bundled in GNU coreutils was written by Paul Eggert. It is not a part of POSIX.
Example
Adapted from the Wikipedia article, CC BY-SA 4.0. Continue on Wikipedia
Go deeper
Ideas this article links to.