November 1998
Beginner
368 pages
7h 58m
English
Occasionally, you might also need to use tail, which displays the last lines of a file. tail is particularly handy for checking footers or for updating information in a footer (see Code Listing 6.5). Just as with head (described in the previous pages), tail offers several options for viewing files.
To view file endings with tail:
tail honeydo
To view a specified number of lines:
tail -15 honeydo
To view the endings of multiple files:
tail honey* | more
Read now
Unlock full access