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. -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines