---
name: "kpsereadlink"
section: "1"
platform: "linux"
package: "texlive-doc"
version: "2026.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/kpsereadlink"
---

# kpsereadlink(1)

print contents of symbolic link

## NAME

kpsereadlink - print contents of symbolic link

## SYNOPSIS

**kpsereadlink** *file*

## DESCRIPTION

If *file* is a symbolic link, print its contents (what it links to), and exit successfully.  Exit with a failure otherwise.

On systems that do not support symbolic links, **kpsereadlink** will always fail.

## OPTIONS

**kpsereadlink** accepts the following options:

- **--help**

  Print help message and exit.

- **--version**

  Print version information and exit.

## SEE ALSO

[**readlink**(2)](/readlink/2.md)
