How to display the results of a command screen by screen in a shell?
Hello there.
I am using Slackware in a shell environment. For example, when you use the command ls it lists the contents of a directory. But if there are many objects, more than what is possible to fit in a single screen, only the last objects are shown. So, how can one make a command show its results in a way one can see the results from start to end? Also, how can you navigate the shell like you would in a desktop environment? I mean, when you-re running KDE for example, you can run a terminal session and scroll with the mouse to see the contents of the previous screens. Thanks for reading. |
you could use less or more.
|
Quote:
Code:
ls | less |
Quote:
Code:
ls -l | less Quote:
|
@schneidz,@MARoque,@Ser Olmy,
Thanks everyone, those commands worked perfectly. |
All times are GMT -5. The time now is 08:23 PM. |