ls -l --show-me-each-link-in-the-symlink-chain
ls -l shows you the start of the symlink chain, ls -lL shows you the end of the symlink chain, but to see each link, one needs many ls -l's. There ought to be an option to see each link. Sure, there is usually just one link, but sometimes there is more. ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
Re: ls -l --show-me-each-link-in-the-symlink-chain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to jida...@jidanni.org on 3/25/2009 12:23 PM: ls -l shows you the start of the symlink chain, ls -lL shows you the end of the symlink chain, but to see each link, one needs many ls -l's. There ought to be an option to see each link. readlink is what you're looking for. - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknK4uAACgkQ84KuGfSFAYDunwCgh6YWiZ3P5PNere91db6qn6c/ F1oAn2LPY8M+Fx2Z70xhgotwI/Sm0zIt =Af70 -END PGP SIGNATURE- ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils
Re: ls -l --show-me-each-link-in-the-symlink-chain
EB == Eric Blake e...@byu.net writes: EB According to jida...@jidanni.org on 3/25/2009 12:23 PM: ls -l shows you the start of the symlink chain, ls -lL shows you the end of the symlink chain, but to see each link, one needs many ls -l's. There ought to be an option to see each link. EB readlink is what you're looking for. OK, please add a note to that effect at ls -L. And readlink needs an option to show each link in the chain! ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils