Red Hat Linux 7.1: The Official Red Hat Linux Getting Started Guide |
||
---|---|---|
Chapter 13. Frequently Asked Questions |
Whenever I type ls I can barely see the output of the directory because it scrolls by too quickly. How can I actually read the output?
To prevent the output of ls from scrolling by too quickly, pipe the output to a pager, such as less or more. The results will be similar to the DOS command dir somedirectory /p, because you'll see the output one screen, or "page" at at time.
To read the contents of /etc with less, type the following command at the shell prompt:
ls -al /etc | less
|
To move forward a screen, press
You can achieve the same results with more, another pager.
Amazon.com International Sites :
USA, United Kingdom, Germany, France