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>
497 B
497 B
shuf
Genera permutaciones aleatorias. Más información: https://keith.github.io/xcode-man-pages/shuf.1.html.
- Ordena aleatoriamente las líneas de un fichero y muestra el resultado:
shuf {{nombre_archivo}}
- Sólo muestra las 5 primeras entradas del resultado:
shuf --head-count=5 {{nombre_archivo}}
- Escribe el resultado en otro archivo:
shuf {{nombre_archivo}} --output={{nombre_archivo_salida}}
- Genera números aleatorios en el rango 1-10:
shuf --input-range=1-10