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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.