콘텐츠로 이동
Search

Head

head는 파일의 앞부분부터 확인하는 명령어이다.

Example

기본적으로 행의 앞부분 부터 10 행까지만 출력:

$ head test

20행까지 출력:

head -n 20 test

200 byte 까지의 내용을 출력:

head -c 200 test

See also

Favorite site

lastmod 2023-03-09created 2023-03-09author Zer0 sitemap