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/linux/head.md

21 lines
529 B
Markdown
Raw Normal View History

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