⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tail.1

📁 操作系统设计与实现源码
💻 1
字号:


TAIL(1)                   Minix Programmer's Manual                    TAIL(1)


NAME
     tail - print the last few lines of a file

SYNOPSIS
     tail [-c n] [-f] [-n n] [file] ...

OPTIONS

     -c   The count refers to characters

     -f   On FIFO or special file, keep reading after EOF

     -n   The count refers to lines

EXAMPLES

     tail -n 6           # Print last 6 lines of stdin

     tail -c 20 file     # Print the last 20 characters of file

     tail -n 1 file1 file2
                         # Print last line of two files

     tail -n +8 file     # Print the tail starting with line 8

DESCRIPTION

     The last few lines of one or more files are printed.  The  default  count
     is 10 lines.  The default file is stdin.  If the value of n for the -c or
     -n flags starts with a + sign, counting starts at the  beginning,  rather
     than the end of the file.

SEE ALSO
     head(1).


















                                                                             1

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -