LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   The kind of question noone thinks anyone will ask (https://www.linuxquestions.org/questions/linux-newbie-8/the-kind-of-question-noone-thinks-anyone-will-ask-535847/)

davidguygc 03-08-2007 08:43 PM

The kind of question noone thinks anyone will ask
 
I am in console mode, and when I type ls to show the files, there are too many in it, i.e. /etc. Is there a way I can see the files in chunks?

Thanks, David

rickh 03-08-2007 08:45 PM

Several ways ... Perhaps most commonly ... ls | less

davidguygc 03-08-2007 08:49 PM

Thanks a lot, I owe ya one

J.W. 03-08-2007 08:51 PM

Or save the output of the ls command to a file and view them at your leisure
Code:

ls > junk.txt

syg00 03-08-2007 09:39 PM

And of cousre, if you know what "chunk" (technical term ??? :p), use wild-carding
Code:

ls xyz*


All times are GMT -5. The time now is 06:05 PM.