mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
21 lines
520 B
Markdown
21 lines
520 B
Markdown
![]() |
# head
|
||
|
|
||
|
> 파일의 처음 부분을 출력합니다.
|
||
|
> 더 많은 정보: <https://keith.github.io/xcode-man-pages/head.1.html>.
|
||
|
|
||
|
- 파일의 처음 몇 줄을 출력:
|
||
|
|
||
|
`head --lines {{8}} {{경로/대상/파일}}`
|
||
|
|
||
|
- 파일의 처음 몇 바이트를 출력:
|
||
|
|
||
|
`head --bytes {{8}} {{경로/대상/파일}}`
|
||
|
|
||
|
- 파일의 마지막 몇 줄을 제외하고 출력:
|
||
|
|
||
|
`head --lines -{{8}} {{경로/대상/파일}}`
|
||
|
|
||
|
- 파일의 마지막 몇 바이트를 제외하고 출력:
|
||
|
|
||
|
`head --bytes -{{8}} {{경로/대상/파일}}`
|