리눅스 cat

  다른 뜻에 대해서는 컴퓨터 적응 검사 문서를 참조하십시오.

1 개요[ | ]

cat
/bin/cat[1]
/usr/bin/cat[2]
  • 파일 보기 명령어
  • 파일 내용을 출력하는 리눅스 명령어
  • 코어유틸에 포함되어 있다.
  • concatenate에서 따온 이름이라고 한다.
[root@zetawiki ~]# echo hello > a.txt
[root@zetawiki ~]# cat a.txt
hello
[root@zetawiki ~]# cat /etc/issue
CentOS release 6.5 (Final)
Kernel \r on an \m

2 -n 옵션: 행번호 보기[ | ]

[root@zetawiki ~]# cat -n /etc/issue
     1	CentOS release 6.5 (Final)
     2	Kernel \r on an \m
     3

3 같이 보기[ | ]

4 참고[ | ]

  1. CentOS 5
  2. CentOS 7
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}