O'Reilly logo

SAMS Teach Yourself Unix in 10 Minutes by Robert Shimonski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required