See readlink.
In reply to Re: Opening symlinks directly (readlink) by tye in thread Opening symlinks directly by cyberconte