Re: list files but not directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25Aug2009 10:41, Bryn M. Reeves <bmr@xxxxxxxxxx> wrote:
| On Fri, 2009-08-21 at 17:09 +0400, Hiisi wrote:
| > > any way to list files but not directory
| > 
| > ls -hl | grep ^-
| 
| Lists things that aren't regular files.

No, it lists things that _are_ regular files. You confusing it with
this:

  ls -hl | grep '^[^-]'

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

We now return you to the previously scheduled counter-steering flame-fest
and under-clothing auction, after a few words about your sponsor, the DoD.
        - Denis McKeon <galway@xxxxxxxxxxxxxxxxx>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux