| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1. |
| 2 |
.TH READLINK "1" "February 2026" "GNU coreutils 9.10" "User Commands" |
| 3 |
.SH NAME |
| 4 |
readlink \- print resolved symbolic links or canonical file names |
| 5 |
.SH SYNOPSIS |
| 6 |
.B readlink |
| 7 |
[\fI\,OPTION\/\fR]... \fI\,FILE\/\fR... |
| 8 |
.SH DESCRIPTION |
| 9 |
.\" Add any additional description here |
| 10 |
\fBrealpath\fP(1) is a better command |
| 11 |
for canonicalization functionality. |
| 12 |
.PP |
| 13 |
Print value of a symbolic link or canonical file name |
| 14 |
.TP |
| 15 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#readlink-f'\fB\-f, \-\-canonicalize\fP\X'tty: link' |
| 16 |
canonicalize by following every symlink |
| 17 |
in every component of the given name recursively; |
| 18 |
all but the last component must exist |
| 19 |
.TP |
| 20 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#readlink-e'\fB\-e, \-\-canonicalize\-existing\fP\X'tty: link' |
| 21 |
canonicalize by following every symlink |
| 22 |
in every component of the given name recursively; |
| 23 |
all components must exist |
| 24 |
.TP |
| 25 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#readlink-m'\fB\-m, \-\-canonicalize\-missing\fP\X'tty: link' |
| 26 |
canonicalize by following every symlink |
| 27 |
in every component of the given name recursively, |
| 28 |
without requirements on components existence |
| 29 |
.TP |
| 30 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#readlink-n'\fB\-n, \-\-no\-newline\fP\X'tty: link' |
| 31 |
do not output the trailing delimiter |
| 32 |
.HP |
| 33 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#readlink-q'\fB\-q, \-\-quiet\fP\X'tty: link' |
| 34 |
.TP |
| 35 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#readlink-s'\fB\-s, \-\-silent\fP\X'tty: link' |
| 36 |
suppress most error messages |
| 37 |
(on by default if POSIXLY_CORRECT is not set) |
| 38 |
.TP |
| 39 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#readlink-v'\fB\-v, \-\-verbose\fP\X'tty: link' |
| 40 |
report error messages |
| 41 |
(on by default if POSIXLY_CORRECT is set) |
| 42 |
.TP |
| 43 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#readlink-z'\fB\-z, \-\-zero\fP\X'tty: link' |
| 44 |
end each output line with NUL, not newline |
| 45 |
.TP |
| 46 |
\X'tty: link https://www.gnu.org/software/coreutils/readlink#readlink--help'\fB\-\-help\fP\X'tty: link' |
| 47 |
display this help and exit |
| 48 |
.TP |
| 49 |
\X'tty: link https://www.gnu.org/software/coreutils/readlink#readlink--version'\fB\-\-version\fP\X'tty: link' |
| 50 |
output version information and exit |
| 51 |
.SH AUTHOR |
| 52 |
Written by Dmitry V. Levin. |
| 53 |
.SH "REPORTING BUGS" |
| 54 |
Report bugs to: bug\[email protected] |
| 55 |
.br |
| 56 |
GNU coreutils home page: <https://www.gnu.org/software/coreutils/> |
| 57 |
.br |
| 58 |
General help using GNU software: <https://www.gnu.org/gethelp/> |
| 59 |
.br |
| 60 |
Report any translation bugs to <https://translationproject.org/team/> |
| 61 |
.SH "SEE ALSO" |
| 62 |
\fBreadlink\fP(2), \fBrealpath\fP(1), \fBrealpath\fP(3) |
| 63 |
.PP |
| 64 |
.br |
| 65 |
Full documentation <https://www.gnu.org/software/coreutils/readlink> |
| 66 |
.br |
| 67 |
or available locally via: info \(aq(coreutils) readlink invocation\(aq |
| 68 |
.PP |
| 69 |
.br |
| 70 |
Packaged by Debian (9.10\-1) |
| 71 |
.br |
| 72 |
Copyright \(co 2026 Free Software Foundation, Inc. |
| 73 |
.br |
| 74 |
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. |
| 75 |
.br |
| 76 |
This is free software: you are free to change and redistribute it. |
| 77 |
.br |
| 78 |
There is NO WARRANTY, to the extent permitted by law. |