1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 08:06:00 +02:00
tldr/pages.ko/linux/head.md
2024-11-09 13:27:13 +09:00

20 lines
529 B
Markdown

# head
> 파일의 첫 부분을 출력합니다.
> 더 많은 정보: <https://www.gnu.org/software/coreutils/head>.
- 파일의 처음 몇 줄을 출력:
`head --lines {{개수}} {{경로/대상/파일}}`
- 파일의 처음 몇 바이트를 출력:
`head --bytes {{개수}} {{경로/대상/파일}}`
- 파일의 마지막 몇 줄을 제외하고 출력:
`head --lines -{{개수}} {{경로/대상/파일}}`
- 파일의 마지막 몇 바이트를 제외하고 출력:
`head --bytes -{{개수}} {{경로/대상/파일}}`