mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
812 B
812 B
tail
파일의 마지막 부분을 표시합니다. 같이 보기:
head
. 더 많은 정보: https://keith.github.io/xcode-man-pages/tail.1.html.
- 파일에서 마지막 '개수' 줄을 표시:
tail -n {{8}} {{경로/대상/파일}}
- 특정 행 번호부터 파일 출력:
tail -n +{{8}} {{경로/대상/파일}}
- 주어진 파일의 끝에서부터 특정 개수의 바이트 출력:
tail -c {{8}} {{경로/대상/파일}}
- 주어진 파일의 마지막 줄을 출력하고
<Ctrl c>
까지 계속 읽기:
tail -f {{경로/대상/파일}}
- 파일이 접근 불가능해도
<Ctrl c>
까지 계속 읽기:
tail -F {{경로/대상/파일}}
- '파일'의 마지막 '개수' 줄을 표시하고 '초'마다 새로 고침:
tail -n {{8}} -s {{10}} -f {{경로/대상/파일}}