Ls command
I am new to linux. After reading the man page and my Linux command summary book I still don't understand how to see a directory listing one page at a time. Which switch do I use to only see one page listing of a directory?
|
ls | less is what I think you want to do (your post isn't totally clear). In the shell a vertical bar | pipes the result of one command to another. In the case, the output of ls is piped to less which displays it one page at a time (you may scroll back and forth through the output).
|
there is no switch to see it one page at a time, however you can "pipe" it to the more command like this
ls | more type this into terminal -By the way your post was perfectly clear to me |
hehe, now we can get into a more vs less war ;)
|
Thanks guys, think I got it now.
|
All times are GMT -5. The time now is 03:10 AM. |