Summary

Reading files in your Unix system can be done very easily. Working via the command prompt can be difficult but by now, that difficulty level should be diminishing and fading away as you learn more and more about Unix. In this lesson we learned how to work with Unix files and read them via many shell prompt tools. This lesson should have given you a clear picture of the many different ways you can display files, or portions of files.

Here's a review:

  • cat— This concatenate command displays all the files you specify, one after the other. It does not pause at the end of pages.

  • more/less— These are known as pagers. They page through their input files, one screen at a time. less offers the ability to scroll backwards through files unlike ...

Get SAMS Teach Yourself Unix in 10 Minutes 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.