Displaying Files and Pipelines

UNIX provides a number of utilities that enable you to view the contents of text files and control how you are shown the output. Many of these utilities can also be used as part of a pipeline sequence, in which output is fed from one command directly to another.

This chapter does not cover text editors, which are another way to view the contents of a file (and also make modifications). Text editors are covered in the following chapters:

To display only lines that contain a specific string pattern, see Chapter 18, “Searching for Lines in a File or Pipeline.” To ...

Get Practical UNIX now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.