.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5. .TH READLINK "1" "January 2024" "GNU coreutils 9.4" "User Commands" .SH NAME readlink \- print resolved symbolic links or canonical file names .SH SYNOPSIS .B readlink [\fI\,OPTION\/\fR]... \fI\,FILE\/\fR... .SH DESCRIPTION .\" Add any additional description here Note \fBrealpath\fP(1) is the preferred command to use for canonicalization functionality. .PP Print value of a symbolic link or canonical file name .TP \fB\-f\fR, \fB\-\-canonicalize\fR canonicalize by following every symlink in every component of the given name recursively; all but the last component must exist .TP \fB\-e\fR, \fB\-\-canonicalize\-existing\fR canonicalize by following every symlink in every component of the given name recursively, all components must exist .TP \fB\-m\fR, \fB\-\-canonicalize\-missing\fR canonicalize by following every symlink in every component of the given name recursively, without requirements on components existence .TP \fB\-n\fR, \fB\-\-no\-newline\fR do not output the trailing delimiter .HP \fB\-q\fR, \fB\-\-quiet\fR .TP \fB\-s\fR, \fB\-\-silent\fR suppress most error messages (on by default) .TP \fB\-v\fR, \fB\-\-verbose\fR report error messages .TP \fB\-z\fR, \fB\-\-zero\fR end each output line with NUL, not newline .TP \fB\-\-help\fR display this help and exit .TP \fB\-\-version\fR output version information and exit .SH AUTHOR Written by Dmitry V. Levin. .SH "REPORTING BUGS" GNU coreutils online help: .br Report any translation bugs to .SH COPYRIGHT Copyright \(co 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH "SEE ALSO" \fBreadlink\fP(2), \fBrealpath\fP(1), \fBrealpath\fP(3) .PP .br Full documentation .br or available locally via: info \(aq(coreutils) readlink invocation\(aq