head [OPTION]... [FILE]...
# head -n 15 apache.log
# head -n -15 apache.log
Copyrights © - Joinc, All Rights Reserved. Inherited From - Yundream Rebranded By - Joonphil
사용법
설명
- -c --bytes=[-]N
각 파일의 처음 N byte(:12)를 출력한다. -가 붙을경우에는 파일의 마지막 N byte를 출력한다.- -n, --lines=[-]N
각 파일의 처음 N줄을 출력한다. -가 붙을경우 파일의 마지막 N줄을 출력한다.- -q, quiet, silent
파일의 이름을 출력하지 않는다.- -v, --verbose
파일의 이름을 항상 출력한다.사용예
Recent Posts
Archive Posts
Tags