[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to only show symbol link with ls?
From: |
Eric Blake |
Subject: |
Re: How to only show symbol link with ls? |
Date: |
Sat, 20 Feb 2010 14:57:32 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
According to Peng Yu on 2/20/2010 2:48 PM:
> I don't see an option to list only symbolic link with ls. Could
> somebody let me know if there is such an option?
What exactly do you mean?
If you want to list only the symbolic links, and nothing else, contained
in a directory, then find(1) is the tool to use, not ls. And it appears
that you recently asked how to do that on the findutils list; did you read
the answers you got?
http://lists.gnu.org/archive/html/bug-findutils/2010-02/msg00018.html
If you want to list all files, but mark symbolic links with an indicator,
so that they stand out, you can use ls -F.
--
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
signature.asc
Description: OpenPGP digital signature