tail.1
来自「Unix操作系统minix 2.0源码」· 1 代码 · 共 35 行
1
35 行
.TH TAIL 1.SH NAMEtail \- print the last few lines of a file.SH SYNOPSIS\fBtail\fR [\fB\-c \fIn\fR] [\fB\-f] [\fB\-n \fIn\fR] [\fIfile\fR] ...\fR.br.de FL.TP\\fB\\$1\\fR\\$2...de EX.TP 20\\fB\\$1\\fR# \\$2...SH OPTIONS.FL "\-c" "The count refers to characters".FL "\-f" "On FIFO or special file, keep reading after EOF".FL "\-n" "The count refers to lines".SH EXAMPLES.EX "tail \-n 6" "Print last 6 lines of \fIstdin\fR".EX "tail \-c 20 file" "Print the last 20 characters of \fIfile\fR".EX "tail \-n 1 file1 file2" "Print last line of two files".EX "tail \-n +8 file" "Print the tail starting with line 8".SH DESCRIPTION.PPThe last few lines of one or more files are printed.The default count is 10 lines.The default file is \fIstdin\fR.If the value of \fIn\fR for the \fB\-c\fR or \fB\-n\fR flags starts witha + sign, counting starts at the beginning, rather than the end of the file..SH "SEE ALSO".BR head (1).
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?