list files but not directory

ann kok oiyankok at yahoo.ca
Fri Aug 21 12:17:03 UTC 2009


ls -1 but I only want the file to list not directory

thank you

--- On Fri, 8/21/09, Todd Zullinger <tmz at pobox.com> wrote:

> From: Todd Zullinger <tmz at pobox.com>
> Subject: Re: list files but not directory
> To: fedora-list at redhat.com
> Received: Friday, August 21, 2009, 8:02 AM
> ann kok wrote:
> > any way to list files but not directory
> 
> Could you be more specific about what you want?
> 
> Possible solutions might be using 'ls -d' or 'find -type f'
> but it's
> hard to say without knowing what you're trying to do.
> 
> -- 
> Todd        OpenPGP -> KeyID:
> 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Stenderup's Law:  The sooner you fall behind, the more
> time you will
> have to catch up.
> 
> 
> -----Inline Attachment Follows-----
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/




More information about the fedora-list mailing list