mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* shuf: add Dutch translation and align pages * Update shuf.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> * Update shuf.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> --------- Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
20 lines
567 B
Markdown
20 lines
567 B
Markdown
# shuf
|
|
|
|
> Genereer willekeurige permutaties.
|
|
> Meer informatie: <https://www.gnu.org/software/coreutils/shuf>.
|
|
|
|
- Wijzig willekeurig de volgorde van regels in een bestand en toon het resultaat:
|
|
|
|
`shuf {{pad/naar/bestand}}`
|
|
|
|
- Toon alleen de eerste 5 regels van het resultaat:
|
|
|
|
`shuf --head-count=5 {{pad/naar/bestand}}`
|
|
|
|
- Schrijf de uitvoer naar een ander bestand:
|
|
|
|
`shuf {{pad/naar/invoer_bestand}} --output={{pad/naar/uitvoer_bestand}}`
|
|
|
|
- Genereer 3 willekeurige getallen in het bereik van 1 tot 10 (inclusief):
|
|
|
|
`shuf --head-count=3 --input-range=1-10 --repeat`
|