RE: [SLUG] ls command

2002-03-22 Thread Chris Barnes

man ls
should give you info on the switches available but I usually pipe the output
to more (ls | more). If your searching for a specific pattern then ls | grep
pattern | more should work pretty well

--

-Original Message-
From: Dennis Curnow` [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 22 March 2002 11`41 AM 
To: Sydney Linux Users Group
Subject: [SLUG] ls command

G'day Gang,

I'm still having trouble getting X to start but have ordered RedHat 7.2 and
am hoping that 
may talk to my video card better.

Anyway to the question.

Is there a parameter to add when doing a ls the restrict the screen to one
page at a 
time  a bit like the dos command dir /p/w  The /p is for page at a time
and the /w is to 
show the lists across the page in multiple coloms.

Kind Regards 

Dennis


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Searching for A Better Way to a home loan ?. Call RAMS on 13 7267, or go to 
http://www.rams.com.au

The e-mail and any attachments may contain confidential information.  If you receive 
it in error you must not use or disclose the information. You must tell us and delete 
it. We do not waive any legal privilege by sending it. RAMS does not promise that the 
email is free from virus defect or error.
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



RE: [SLUG] ls command

2002-03-21 Thread Ben Donohue

What video card was it again?

ls |more will page it.
ls -la gives all the file details
there's heaps of other switches.
Ben


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Dennis Curnow`
Sent: Friday, 22 March 2002 11:41 AM
To: Sydney Linux Users Group
Subject: [SLUG] ls command


G'day Gang,

I'm still having trouble getting X to start but have ordered RedHat 7.2 and
am hoping that
may talk to my video card better.

Anyway to the question.

Is there a parameter to add when doing a ls the restrict the screen to one
page at a
time  a bit like the dos command dir /p/w  The /p is for page at a time
and the /w is to
show the lists across the page in multiple coloms.

Kind Regards

Dennis


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] ls command

2002-03-21 Thread Jeff Waugh

quote who=Dennis Curnow`

 Is there a parameter to add when doing a ls the restrict the screen to
 one page at a time  a bit like the dos command dir /p/w  The /p is for
 page at a time and the /w is to 

Use 'ls | more' or 'ls | less' (which is nicer). This exactly the same as
using '| more' in DOS, you're piping the output through a program that does
the paging for you.

- Jeff

-- 
   I look forward to someday putting foo-colored ribbons on my homepage
   declaring 'port 25 is for spam', and 'just say no to the Spam Message
   Transmission Protocol!' - Raph Levien   
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] ls command

2002-03-21 Thread Kevin Saenz

you could try ls | more


 G'day Gang,
 
 I'm still having trouble getting X to start but have ordered RedHat 7.2
 and am hoping that 
 may talk to my video card better.
 
 Anyway to the question.
 
 Is there a parameter to add when doing a ls the restrict the screen to
 one page at a 
 time  a bit like the dos command dir /p/w  The /p is for page at a
 time and the /w is to 
 show the lists across the page in multiple coloms.
 
 Kind Regards 
 
 Dennis
 
 
 -- 
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug
 



---
Kevin Saenz
Security Analyst
mobile: +61418455661
email: [EMAIL PROTECTED]
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug