READLINK(1)

NAME
readlink - Print value of a symbolic link or canonical file name.

SYNOPSIS
readlink [-f|--canonicalize] [-e|--canonicalize-existing] [-m|--canonicalize-missing] [-n|--no-newline] [-q|--quiet] [-s|--silent] [-v|--verbose] [-z|--zero] [-h|--help] [-V|--version] [files]

DESCRIPTION
Print value of a symbolic link or canonical file name.

OPTIONS

-f, --canonicalize
    canonicalize by following every symlink in every component of the given name recursively; all but the last component must exist

-e, --canonicalize-existing
    canonicalize by following every symlink in every component of the given name recursively, all components must exist

-m, --canonicalize-missing
    canonicalize by following every symlink in every component of the given name recursively, without requirements on components existence

-n, --no-newline
    do not output the trailing delimiter

-q, --quiet
    suppress most error messages

-s, --silent
    suppress most error messages

-v, --verbose
    report error message

-z, --zero
    separate output with NUL rather than newline

-h, --help
    Print help

-V, --version
    Print version

[files]

EXTRA
## Examples Get the actual file to which the symlink points: readlink {{path/to/file}} Get the absolute path to a file: readlink {{[-f|--canonicalize]}} {{path/to/file}} > The examples are provided by the [tldr-pages project](https://tldr.sh) under the [CC BY 4.0 License](https://github.com/tldr-pages/tldr/blob/main/LICENSE.md). > > Please note that, as uutils is a work in progress, some examples might fail.

VERSION
v(uutils coreutils) 0.9.0