Debian Codegraph @

upstream/opensuse-tumbleweed/man1/realpath.1

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