Blob Blame History Raw
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.3.
.TH REALPATH "1" "July 2018" "GNU coreutils 8.30" "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: <https://www.gnu.org/software/coreutils/>
.br
Report realpath translation bugs to <https://translationproject.org/team/>
.SH COPYRIGHT
Copyright \(co 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
.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"
readlink(1), readlink(2), realpath(3)
.PP
.br
Full documentation at: <https://www.gnu.org/software/coreutils/realpath>
.br
or available locally via: info \(aq(coreutils) realpath invocation\(aq