"tracing" version of readlink(1)
Posted
by
jonrock
on Stack Overflow
See other posts from Stack Overflow
or by jonrock
Published on 2011-01-07T22:29:34Z
Indexed on
2011/01/08
1:53 UTC
Read the original article
Hit count: 452
I would like a version of "readlink -f" that provides a trace of every individual symlink resolution it performs. Something like:
$ linktrace /usr/lib64/sendmail
/usr/lib64 -> lib
/usr/lib/sendmail -> ../sbin/sendmail
/usr/sbin/sendmail
$
I know I have used this utility in the past, on linux, and also remember at the time thinking "the name of this tool is completely unintuitive and I will forget it". Well, that day has arrived.
© Stack Overflow or respective owner