Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

readlink

Some strings on this page have not been translated yet. You can help by translating them on Weblate.
v(uutils coreutils) 0.8.0
readlink [OPCIÓN]... [ARCHIVO]...

Imprimir valor de un enlace simbólico o nombre de archivo canónico.

Options

--canonicalize, -f

canonicalizar siguiendo cada enlace simbólico en cada componente del nombre dado recursivamente; todos excepto el último componente deben existir

--canonicalize-existing, -e

canonicalizar siguiendo cada enlace simbólico en cada componente del nombre dado recursivamente, todos los componentes deben existir

--canonicalize-missing, -m

canonicalizar siguiendo cada enlace simbólico en cada componente del nombre dado recursivamente, sin requerimientos sobre la existencia de componentes

--no-newline, -n

no mostrar el delimitador final

--quiet, -q

suprimir la mayoría de mensajes de error

--silent, -s

suprimir la mayoría de mensajes de error

--verbose, -v

reportar mensaje de error

--zero, -z

separar salida con NUL en lugar de nueva línea

Examples

The examples have not been translated yet and are shown in English. You can help by translating them on tldr-pages.

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 under the CC BY 4.0 License.

Please note that, as uutils is a work in progress, some examples might fail.