linux-help

cat #텍스트 문서를 출력한다.

놀러와 2017. 9. 23. 01:33

사용법: cat [<옵션>]... [<파일>]...
Concatenate FILE(s) to standard output.

<파일>이 주어지지 않거나 - 이면 표준 입력을 읽습니다.

-A, --show-all equivalent to -vET
-b, --number-nonblank number nonempty output lines, overrides -n
-e equivalent to -vE
-E, --show-ends display $ at end of each line
-n, --number number all output lines
-s, --squeeze-blank suppress repeated empty output lines
-t -vT와 같음
-T, --show-tabs 탭 문자를 ^I로 표시합니다
-u (무시됨)
-v, --show-nonprinting ^ 와 M- 표기법을 사용합니다 (LFD와 TAB 제외)

--help 이 도움말을 표시하고 끝냅니다
--version 버전 정보를 출력하고 끝냅니다

예제:
cat f - g f 내용, 표준 입력, g 내용을 순서대로 출력.
cat 표준 입력을 표준 출력으로 복사.

GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
Report cat translation bugs to <http://translationproject.org/team/>
Full documentation at: <http://www.gnu.org/software/coreutils/cat>
or available locally via: info '(coreutils) cat invocation'