blog:2019-07-16_linux_tail_utility
2019-07-16 Linux "tail" Utility
“tail” command is read a file and shows the latest parts.
Print the last 10 lines of each FILE to standard output. With more than one FILE, precede each with a header giving the file name.
With no FILE, or when FILE is -, read standard input.
tail Source Code
Reference [1], the source code of tail is here:
There is a document teach to write your own tail utility in [2].
References
Permalink blog/2019-07-16_linux_tail_utility.txt · Last modified: 2019/07/16 08:59 by
jethro