tail
Displays the last part (tail) of a file
tail [options] [file-list]
The tail utility displays the last part, or end, of a file. This utility takes its input from one or more files you specify on the command line or from standard input.
Arguments
The file-list contains pathnames of the files that tail displays. When you specify more than one file, tail displays the filename of each file before displaying the lines of the file. When you do not specify a file, tail takes its input from standard input.
Options
--bytes=[[+]n[u]]
-c Counts by bytes (characters). The n is an optional nonzero integer. The u is an optional unit of measure that can be b (512-byte blocks), k (1,024-byte or 1-kilobyte blocks), or m (1-megabyte blocks). If you include ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access