.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5.
.TH REALPATH "1" "April 2024" "GNU coreutils 9.5" "User Commands"
.SH NAME
realpath \- print the resolved path
.SH SYNOPSIS
.B realpath
[\fI\,OPTION\/\fR]... \fI\,FILE\/\fR...
.SH DESCRIPTION
.\" Add any additional description here
.PP
Print the resolved absolute file name;
all but the last component must exist
.TP
\fB\-e\fR, \fB\-\-canonicalize\-existing\fR
all components of the path must exist
.TP
\fB\-m\fR, \fB\-\-canonicalize\-missing\fR
no path components need exist or be a directory
.TP
\fB\-L\fR, \fB\-\-logical\fR
resolve '..' components before symlinks
.TP
\fB\-P\fR, \fB\-\-physical\fR
resolve symlinks as encountered (default)
.TP
\fB\-q\fR, \fB\-\-quiet\fR
suppress most error messages
.TP
\fB\-\-relative\-to\fR=\fI\,DIR\/\fR
print the resolved path relative to DIR
.TP
\fB\-\-relative\-base\fR=\fI\,DIR\/\fR
print absolute paths unless paths below DIR
.TP
\fB\-s\fR, \fB\-\-strip\fR, \fB\-\-no\-symlinks\fR
don't expand symlinks
.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 Padraig Brady.
.SH "REPORTING BUGS"
GNU coreutils online help:
.br
Report any translation bugs to
.SH COPYRIGHT
Copyright \(co 2024 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(1), \fBreadlink\fP(2), \fBrealpath\fP(3)
.PP
.br
Full documentation
.br
or available locally via: info \(aq(coreutils) realpath invocation\(aq