25.15 Finer Control on tail
What if you need to look at the last 11 lines of the file? The
command You can also tell tail to count the number of characters or the number of 512-byte blocks. To do so, use the -c option (count characters) or the -b option (count blocks). If you want to state explicitly that you're interested in lines, give the -l option.
Many versions of tail also have a -r option that shows the file in reverse order, starting from the last line. (Also see article 25.19 .) Some versions of UNIX may limit the maximum number of lines that tail , especially tail -r , can display. - |
|