Monday, June 10, 2013

How can i determine what a soft link points to?

Given a file of arbitrary name, here is how you can determine what it links to, when the link destination can also have arbitrary contents: 

readlink -f <linkname>

No comments:

Post a Comment