.TH READLINK 1 "4 January 1998" "Kpathsea 3.4.5" .\"===================================================================== .if n .ds MP MetaPost .if t .ds MP MetaPost .if n .ds MF Metafont .if t .ds MF M\s-2ETAFONT\s0 .if t .ds TX \fRT\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X\fP .if n .ds TX TeX .ie t .ds OX \fIT\v'+0.25m'E\v'-0.25m'X\fP\" for troff .el .ds OX TeX\" for nroff .\" the same but obliqued .\" BX definition must follow TX so BX can use TX .if t .ds BX \fRB\s-2IB\s0\fP\*(TX .if n .ds BX BibTeX .\" LX definition must follow TX so LX can use TX .if t .ds LX \fRL\\h'-0.36m'\\v'-0.15v'\s-2A\s0\\h'-0.15m'\\v'0.15v'\fP\*(TX .if n .ds LX LaTeX .\"===================================================================== .SH NAME readlink \- print contents of symbolic link .SH SYNOPSIS .B readlink .I file .\"===================================================================== .SH DESCRIPTION If .I file is a symbolic link, print its contents (what it links to), and exit successfully. Exit with a failure otherwise. .PP On systems that do not support symbolic links, .B readlink will always fail. .\"===================================================================== .SH OPTIONS .B readlink accepts the following additional options: .TP .B --help .rb Print help message and exit. .TP .B --version .rb Print version information and exit. .\"===================================================================== .SH "SEE ALSO" .BR readlink (2)