"리눅스 head"의 두 판 사이의 차이

27번째 줄: 27번째 줄:
==같이 보기==
==같이 보기==
*[[tail]]
*[[tail]]
*[[리눅스 파일 N번째 행 보기]]
*[[watch]]
*[[watch]]


[[분류:리눅스]]
[[분류:리눅스]]
[[분류:/usr/bin]]
[[분류:/usr/bin]]

2012년 9월 17일 (월) 09:53 판

  • 리눅스 파일 첫부분 보기
  • head

1 명령어

head 파일명

파일의 첫부분 10개행을 보여준다.

2 실행 예시

[root@localhost ~]# head /etc/services 
# /etc/services:
# $Id: services,v 1.42 2006/02/23 13:09:23 pknirsch Exp $
#
# Network services, Internet style
#
# Note that it is presently the policy of IANA to assign a single well-known
# port number for both TCP and UDP; hence, most entries here have two entries
# even if the protocol doesn't support UDP operations.
# Updated from RFC 1700, ``Assigned Numbers'' (October 1994).  Not all ports
# are included, only the more common ones.

3 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}