📄 cat.1
字号:
.\" SCCSID: @(#)cat.1 3.1 11/23/87.TH cat 1.SH Namecat \- concatenate and print data.SH Syntax.B cat[.B \-b] [.B \-e] [.B \-n] [.B \-s] [.B \-t] [.B \-u] [.B \-v].I file....br.SH Description.NX R "cat command".NX R "file" "displaying"The.PN catcommand reads each.I filein sequence and displays it on the standard output. Therefore, todisplay the file on the standard output you type:.EXcat file.EETo concatenate two files and place the result on the third you type:.EXcat file1 file2 > file3.EETo concatenate two files and append them to a third you type:.EXcat file1 file2 >> file3.EEIf no input file is given, or if a minus sign (\-) is encountered asan argument,.PN catreads from the standard input file. Output is buffered in 1024-byteblocks unless the standard output is a terminal, in which case it isline buffered. The.PN catutility supports the processing of 8-bit characters..SH Options.TP 5.B \-bIgnores blank lines and precedes each output line with its line number..TP .B \-eDisplays a dollar sign ($) at the end of each output line..TP .B \-nPrecedes all output lines (including blank lines) with line numbers..TP .B \-sSqueezes adjacent blank lines from output and single spaces output..TP .B \-tDisplays non-printing characters (including tabs) in output. Inaddition to those representations used with the.B \-voption, all tab characters are displayed as ^I..TP .B \-uUnbuffers output..TP .B \-vDisplays non-printing characters (excluding tabs and newline)as the ^x.If the character is in the range octal 0177 to octal 0241, it is displayedas M-x. The delete character (octal 0177)displays as ^?. For example, .CT Xis displayed as ^X..SH See Alsocp(1), ex(1), more(1), pr(1), tail(1)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -