Name

lnresolve

Synopsis

lnresolve pathname
                  

Resolves symbolic links.

Option

lnresolve

Takes a pathname as an argument. If the pathname refers to a symlink, the target of the symlink is printed to standard output. If not, the original pathname is printed to standard output. If the pathname doesn’t exist, no result is printed.

Get Mac OS X in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.