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

50번째 줄: 50번째 줄:


[[분류: /bin]]
[[분류: /bin]]
[[분류: /usr/bin]]
[[분류: Coreutils]]
[[분류: Coreutils]]

2014년 11월 10일 (월) 02:30 판

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

1 개요

cat
/bin/cat[1]
/usr/bin/cat[2]
  • 파일 보기 명령어
  • 파일 내용을 출력하는 리눅스 명령어
  • 코어유틸에 포함됨
[root@jmnote ~]# echo hello > a.txt
[root@jmnote ~]# cat a.txt
hello
[root@jmnote ~]# cat /etc/issue
CentOS release 6.5 (Final)
Kernel \r on an \m

2 -n 옵션: 행번호 보기

[root@jmnote ~]# 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

5 참고 자료