Unix Power ToolsUnix Power ToolsSearch this book

Chapter 12. Showing What's in a File


Cracking the Nut
What Good Is a cat?
"less" is More
Show Nonprinting Characters with cat -v or od -c
What's in That Whitespace?
Finding File Types
Squash Extra Blank Lines
How to Look at the End of a File: tail
Finer Control on tail
How to Look at Files as They Grow
GNU tail File Following
Printing the Top of a File
Numbering Lines

12.1. Cracking the Nut

Summary Box

This chapter talks about the many ways of dumping a file to the screen. Most users know the brute force approach provided by cat (Section 12.2), but there's more to it than that:


-- TOR

Library Navigation Links

Copyright © 2003 O'Reilly & Associates. All rights reserved.