DESCRIPTION
The readlink utility when invoked with the pathname of a symbolic link as
its argument dereferences the symbolic link and prints the name of target
on standard output. If readlink is invoked with an argument other than
the pathname of a symbolic link, it exits with a nonzero exit code with-
out printing anything.
The options are as follows:
-f Canonicalize by following every symlink in every component of the
given path recursively.
-n Do not print a trailing newline character.
The readlink utility exits 0 on success or >0 if an error occurred.
SEE ALSO
readlink(2)
HISTORY
The readlink utility first appeared in OpenBSD 2.1.
BSD August 18, 1997 BSD
Man(1) output converted with
man2html