Suppose you want to process only a part of some file, say a few
lines from the start or end of it. What can you do? Use either head
(which sends the first 10 lines to the standard output) or tail
(which sends the last 10 lines to the standard output).“You can change the number of lines that these commands send to
their standard output with the -n option (of course, your results
will vary depending on the contents of your XF86Config file)..”
developerWorks: Reading Text Streams in Chunks With head and tail
By
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis