Viewing File Endings with tailOccasionally, 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. Code Listing 6.5. tail lets you check out just the end of files.
To view file endings with tail:
To view a specified number of lines:
To view the endings of multiple files:
Code Listing 6.6. Use tail with more to see the ends of multiple files.
Tip
|