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

8번째 줄: 8번째 줄:
head 파일명
head 파일명
</source>
</source>
파일 첫부분 10개행을 보여준다.
파일의 첫부분 10개행을 보여준다.


==실행 예시==
==실행 예시==

2012년 2월 18일 (토) 22:04 판

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