1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 22:02:09 +02:00
tldr/pages.ko/common/seq.md
K.B.Dharun Krishna 898f711019
pages/*: update GNU coreutils links, sync translation pages (#15543)
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2025-01-18 18:45:33 +05:30

437 B

seq

숫자 시퀀스를 stdout에 출력. 더 많은 정보: https://www.gnu.org/software/coreutils/manual/html_node/seq-invocation.html.

  • 1부터 10까지의 시퀀스:

seq 10

  • 5부터 20까지 3씩 증가하는 숫자:

seq 5 3 20

  • 출력 항목을 줄바꿈 대신 공백으로 구분:

seq -s " " 5 3 20

  • 출력 너비를 최소 4자리로 맞추고 필요한 경우 0으로 채움:

seq -f "%04g" 5 3 20