| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1. |
| 2 |
.TH REALPATH "1" "June 2025" "GNU coreutils 9.7" "User Commands" |
| 3 |
.SH NAME |
| 4 |
realpath \- print the resolved path |
| 5 |
.SH SYNOPSIS |
| 6 |
.B realpath |
| 7 |
[\fI\,OPTION\/\fR]... \fI\,FILE\/\fR... |
| 8 |
.SH DESCRIPTION |
| 9 |
.\" Add any additional description here |
| 10 |
.PP |
| 11 |
Print the resolved absolute file name; |
| 12 |
all but the last component must exist |
| 13 |
.TP |
| 14 |
\fB\-e\fR, \fB\-\-canonicalize\-existing\fR |
| 15 |
all components of the path must exist |
| 16 |
.TP |
| 17 |
\fB\-m\fR, \fB\-\-canonicalize\-missing\fR |
| 18 |
no path components need exist or be a directory |
| 19 |
.TP |
| 20 |
\fB\-L\fR, \fB\-\-logical\fR |
| 21 |
resolve '..' components before symlinks |
| 22 |
.TP |
| 23 |
\fB\-P\fR, \fB\-\-physical\fR |
| 24 |
resolve symlinks as encountered (default) |
| 25 |
.TP |
| 26 |
\fB\-q\fR, \fB\-\-quiet\fR |
| 27 |
suppress most error messages |
| 28 |
.TP |
| 29 |
\fB\-\-relative\-to\fR=\fI\,DIR\/\fR |
| 30 |
print the resolved path relative to DIR |
| 31 |
.TP |
| 32 |
\fB\-\-relative\-base\fR=\fI\,DIR\/\fR |
| 33 |
print absolute paths unless paths below DIR |
| 34 |
.TP |
| 35 |
\fB\-s\fR, \fB\-\-strip\fR, \fB\-\-no\-symlinks\fR |
| 36 |
don't expand symlinks |
| 37 |
.TP |
| 38 |
\fB\-z\fR, \fB\-\-zero\fR |
| 39 |
end each output line with NUL, not newline |
| 40 |
.TP |
| 41 |
\fB\-\-help\fR |
| 42 |
display this help and exit |
| 43 |
.TP |
| 44 |
\fB\-\-version\fR |
| 45 |
output version information and exit |
| 46 |
.SH AUTHOR |
| 47 |
Written by Padraig Brady. |
| 48 |
.SH "REPORTING BUGS" |
| 49 |
GNU coreutils online help: <https://www.gnu.org/software/coreutils/> |
| 50 |
.br |
| 51 |
Report any translation bugs to <https://translationproject.org/team/> |
| 52 |
.SH "SEE ALSO" |
| 53 |
\fBreadlink\fP(1), \fBreadlink\fP(2), \fBrealpath\fP(3) |
| 54 |
.PP |
| 55 |
.br |
| 56 |
Full documentation <https://www.gnu.org/software/coreutils/realpath> |
| 57 |
.br |
| 58 |
or available locally via: info \(aq(coreutils) realpath invocation\(aq |
| 59 |
.PP |
| 60 |
.br |
| 61 |
Packaged by Debian (9.7\-3) |
| 62 |
.br |
| 63 |
Copyright \(co 2025 Free Software Foundation, Inc. |
| 64 |
.br |
| 65 |
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. |
| 66 |
.br |
| 67 |
This is free software: you are free to change and redistribute it. |
| 68 |
.br |
| 69 |
There is NO WARRANTY, to the extent permitted by law. |