티스토리 뷰

공부

[Sh] tail & head -n count

승가비 2020. 5. 24. 14:29
728x90
tail -n 100 output.txt
head -n 100 output.txt

https://code-factory.tistory.com/33

 

리눅스 tail 명령어

# tail 명령어 : 파일의 뒷부분을 지정된 만큼 보여주는 명령어 입니다. 기본 출력은 파일의 마지막 10줄을 보여 줍니다. (binary 파일도 실행이 됩니다. 보통 text로 된 파일에 사용 합니다.) (head 명렁

code-factory.tistory.com

 

728x90

'공부' 카테고리의 다른 글

[JS] clone blob  (0) 2020.05.24
[Sh] check file size in directory  (0) 2020.05.24
[Hive] multiple partition  (0) 2020.05.21
[Hive] delete partition  (0) 2020.05.21
[HBase] Key  (0) 2020.05.21
댓글