LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   'ls' command... (https://www.linuxquestions.org/questions/slackware-14/%27ls%27-command-84911/)

sramelyk 08-23-2003 01:32 PM

'ls' command...
 
when doing a 'ls' command.. How can I pause or show all of the directory?

slakmagik 08-23-2003 01:34 PM

ls | less

or, for colors

ls --color | less -R

'man ls' and man 'less' for details about your lister and pager. :)

david_ross 08-23-2003 01:40 PM

Take a look at this thread:
http://www.linuxquestions.org/questi...threadid=83891

zsejk 08-23-2003 03:35 PM

ls -la | more

shows you all the nifty hidden files as well, and you get to press the fab spacebar to scroll down more (just like in the man pages, man :D ). Press Q to quit or quit early.

-zsejk

acid_kewpie 08-23-2003 05:26 PM

you should use "less" instead of "more", as it has additional functionality, like beign able to backwards etc...

more and mroe recently "more" has actaully been nothign more than a symlink to less though, so it's possible you're actually using "less" without realising

zsejk 08-23-2003 05:35 PM

Ah... but "more" has a much more positive ring to it than "less"...

;)

-zsejk

rampki 10-01-2003 05:23 AM

ls command
 
Can anybody tell me how to display 30 days old files in linux
using "ls" command

david_ross 10-01-2003 12:45 PM

Welcome to LQ.

In future please don't hijak threads. Create a new one instead. You will also be more likely to get a response if you haven't had any replies to your thread.

I don't think there is a way to do it with ls. You will need to use find:
man find


All times are GMT -5. The time now is 01:58 PM.