tail — Look at the Last Part of a File

Synopsis

/usr/bin/tail [+number [lbcr]][file] 
/usr/bin/tail [-lbcr][file] 
/usr/bin/tail [+number [lbcf]][file] 
/usr/bin/tail [-lbcf][file] 
/usr/xpg4/bin/tail [-f | -r][-c number | -n number][file] 
/usr/xpg4/bin/tail [+number [l | b | c][f]][file] 
/usr/xpg4/bin/tail [+number [l][f | r]][file] 

Description

Use the tail command to look at the end of a file. By default, the last 10 lines are displayed. You can change the number of lines displayed by using the -n number option to specify the number of lines to be displayed. If you do not specify a file name, the standard input is used.

Lines are displayed to standard output beginning at a point in the file indicated by the -c number , -n number , or + number ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.