UNIX Power Tools

UNIX Power ToolsSearch this book
Previous: IV. Looking Inside Files Chapter 25Next: 25.2 Four Ways to Skin a cat
 

25. Showing What's in a File

Contents:
Cracking the Nut
Four Ways to Skin a cat
Using more to Page Through Files
The "less" Pager: More than "more"
Page Through Compressed, RCS, Unprintable Files
What's in That White Space?
Show Non-Printing Characters with cat -v or od -c
Finding File Types
Adding and Deleting White Space
Squash Extra Blank Lines
crush: A cat that Skips all Blank Lines
Double Space, Triple Space ...
pushin: Squeeze Out Extra White Space
How to Look at the End of a File: tail
Finer Control on tail
How to Look at a File as It Grows
An Alias in Case You Don't Have tail
Watching Several Files Grow
Reverse Lines in Long Files with flip
Printing the Top of a File
Numbering Lines

25.1 Cracking the Nut

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

- TOR


Previous: IV. Looking Inside Files UNIX Power ToolsNext: 25.2 Four Ways to Skin a cat
IV. Looking Inside Files Book Index25.2 Four Ways to Skin a cat

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System