1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.ko/common/shuf.md
코드싸이 4b5248236b
common/s*: add and update Korean translation (#14666)
* common/s*: add and update Korean translation

* scamper: fix typo

* Update pages.ko/common/simplehttpserver.md

Co-authored-by: Chooooo <contact@choo.ooo>

* Update pages.ko/common/steamcmd.md

Co-authored-by: Chooooo <contact@choo.ooo>

---------

Co-authored-by: Sebastiaan Speck <shem.speck@gmail.com>
Co-authored-by: Chooooo <contact@choo.ooo>
2024-11-09 10:41:41 +09:00

518 B

shuf

무작위 순열 생성. 더 많은 정보: https://www.gnu.org/software/coreutils/shuf.

  • 파일의 줄 순서를 무작위로 섞고 결과 출력:

shuf {{경로/대상/파일}}

  • 결과의 처음 5개 항목만 출력:

shuf --head-count=5 {{경로/대상/파일}}

  • 출력을 다른 파일에 쓰기:

shuf {{경로/대상/입력_파일}} --output={{경로/대상/출력_파일}}

  • 1-10 범위(포함)에서 임의의 숫자 3개 생성:

shuf --head-count=3 --input-range=1-10 --repeat