summaryrefslogtreecommitdiffstats
path: root/man/realpath.1
blob: b449376c0cc6aa0260f0b0b89a566e13beece618 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.3.
.TH REALPATH "1" "March 2020" "GNU coreutils 8.32" "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 any translation bugs to <https://translationproject.org/team/>
.SH COPYRIGHT
Copyright \(co 2020 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 <https://www.gnu.org/software/coreutils/realpath>
.br
or available locally via: info \(aq(coreutils) realpath invocation\(aq