[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: |
Jon Stanley |
Subject: |
Re: How to only show symbol link with ls? |
Date: |
Sat, 20 Feb 2010 16:57:00 -0500 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, Feb 20, 2010 at 4:48 PM, Peng Yu wrote:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10)
iEYEARECAAYFAkuAWqwACgkQcREpSR+FEY0GvwCfZg/wgHgnNEn5ZOKUAuE4IpOw
qWwAn0Wq7teBH+fj9o7VPz9VLj9IimaW
=zCaN
-----END PGP SIGNATURE-----
> I don't see an option to list only symbolic link with ls. Could
> somebody let me know if there is such an option?
I'm not quite sure of what you mean - you want to list only the
symbolic links in a given directory? ls has no facilities for that,
the UNIX way is tools that are tailored to a specific purpose. For
this purpose, you likely want to use the 'find' utility, with the
'-type l' option.