resolve all symbolic links

linux, symlink

Solution

On Linux, this does the trick:

readlink -f A

Problem

I have following structure A -> B B -> C C -> D D -> E (A is symlink to B, B is symilnk to C and so on) Do I any tool in linux which can resolve all the links till the actual file is found. eg `resolve A` should directly print E

Original source

Related problems