CINXE.COM
readlink
<html> <head> <title>readlink</title> <META NAME="KEYWORDS" CONTENT="readlink"> </head> <body BGCOLOR="#ffffff" LINK="#0000ff" VLINK="#0000ff" ALINK="#0000ff" TEXT="#000000"> <center> <h1><b>readlink</b></h1></center> <PRE> <STRONG><A HREF="/man1/READLINK">READLINK(1)</A></STRONG> User Commands <STRONG><A HREF="/man1/READLINK">READLINK(1)</A></STRONG> NAME readlink - print resolved symbolic links or canonical file names SYNOPSIS readlink [OPTION]... FILE... DESCRIPTION Note <STRONG><A HREF="/man1/realpath">realpath(1)</A></STRONG> is the preferred command to use for canonicalization functionality. Print value of a symbolic link or canonical file name -f, --canonicalize canonicalize by following every symlink in every component of the given name recursively; all but the last component must ex- ist -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 -s, --silent suppress most error messages (on by default) -v, --verbose report error messages -z, --zero end each output line with NUL, not newline --help display this help and exit --version output version information and exit AUTHOR Written by Dmitry V. Levin. REPORTING BUGS GNU coreutils online help: <https://www.gnu.org/software/coreutils/> Report readlink translation bugs to <https://translationpro- ject.org/team/> COPYRIGHT Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO <STRONG><A HREF="/man2/readlink">readlink(2)</A></STRONG>, <STRONG><A HREF="/man1/realpath">realpath(1)</A></STRONG>, <STRONG><A HREF="/man3/realpath">realpath(3)</A></STRONG> Full documentation at: <https://www.gnu.org/software/coreutils/read- link> or available locally via: info '(coreutils) readlink invocation' GNU coreutils 8.30 September 2019 <STRONG><A HREF="/man1/READLINK">READLINK(1)</A></STRONG></PRE> <center> <h6>Man Pages Copyright Respective Owners. Site Copyright (C) 1994 - 2025 <a href="http://www.he.net">Hurricane Electric</a>. All Rights Reserved.</h6></center> </body> </html>