Namei

namei follows its pathname arguments, reporting symlinks found. It is useful for dealing with problems caused by too many levels of symbolic links.

Provided by
Most (all?) Linux distributions incorporate this from the [util-linux] project