version 1.5, 2000/03/05 00:28:53 |
version 1.6, 2000/03/10 20:17:50 |
|
|
.Ar file |
.Ar file |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
.Nm readlink |
.Nm |
utility when invoked with the pathname of a symbolic link as its |
utility when invoked with the pathname of a symbolic link as its |
argument dereferences the symbolic link and prints the name of target |
argument dereferences the symbolic link and prints the name of target |
on standard output. If readlink is invoked with an argument other |
on standard output. |
than the pathname of a symbolic link, it exits with a non-zero exit |
If readlink is invoked with an argument other |
|
than the pathname of a symbolic link, it exits with a nonzero exit |
code without printing anything. |
code without printing anything. |
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
|
|
.El |
.El |
.Pp |
.Pp |
The |
The |
.Nm readlink |
.Nm |
utility exits 0 on success or >0 if an error occurred. |
utility exits 0 on success or >0 if an error occurred. |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr readlink 2 |
.Xr readlink 2 |
.Sh HISTORY |
.Sh HISTORY |
The |
The |
.Nm readlink |
.Nm |
utility first appeared in |
utility first appeared in |
.Ox 2.1 . |
.Ox 2.1 . |