Alan J. Gagne wrote:
> My mistake. I forgot to say that the file was invoked from a
link.
> Your proposed solution shows the link's location. I have to discover
> the target of the link.
echo `ls -la $0`
This will point only to first target. "readlink" has switches for
recursive resolv.