명령어 설명
파일을 이을 수 있고, 파일 확장자에 맞는 표준 형식으로 출력한다.
사용법 및 옵션
사용법
cat filename | more
file의 내용이 많을 때 스크롤하기
cat source > target
target에 source의 내용을 덮어쓰기
cat source >> target
target 내용 마지막부터 source내용을 이어쓰기
* 생소한 명령어의 시작은 소소하게
옵션
cat 옵션 | 기능 |
* -b, -v, -i, -f 등의 옵션은 공통 옵션으로, 대부분의 명령어에서 공통적으로 사용할 수 있다.
이번엔 여기까지
반응형
'리눅스 > 기본 명령어 모음' 카테고리의 다른 글
tail 명령어 - output the last part of files (0) | 2021.01.04 |
---|---|
head 명령어 - output the first part of files (0) | 2021.01.04 |
ln 명령어 - make links between files (0) | 2021.01.04 |
cp 명령어 - copy files and directories (0) | 2021.01.03 |
mv 명령어 - move (rename) files (0) | 2021.01.03 |
댓글