리눅스 head

Jmnote (토론 | 기여)님의 2012년 2월 18일 (토) 22:01 판 (새 문서: {{소문자}} {{테스트|CentOS 5.7}} *리눅스 파일 첫부분 보기 *head ==명령어== <source lang='dos'> head 파일명 </source> 파일에서 첫부분의 10개행을 보...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

  • 리눅스 파일 첫부분 보기
  • 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 }}