-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrealpath.1
More file actions
90 lines (90 loc) · 1.45 KB
/
realpath.1
File metadata and controls
90 lines (90 loc) · 1.45 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "REALPATH" "1" "August 2021" "" ""
.
.SH "NAME"
\fBrealpath\fR \- return resolved physical path
.
.SH "SYNOPSIS"
\fBrealpath\fR [\-q] [filename \.\.\.]
.
.br
\fBrealpath\fR \fB\-h\fR
.
.br
\fBrealpath\fR \fB\-v\fR
.
.br
.
.P
.
.br
.
.SH "DESCRIPTION"
\fBrealpath\fR uses \fBrealpath(3)\fR to resolve the path of the filename(s) supplied as arguments\.
.
.P
.
.br
.
.SH "OPTIONS"
\fB\-q\fR \fBrealpath\fR is executed quitely, i\.e\., warnings are not printed on errors\.
.
.P
\fB\-h\fR Prints usage information\.
.
.P
\fB\-v\fR Prints \fBrealpath\fR version\.
.
.P
.
.br
.
.SH "EXAMPLES"
Regardless of the current directory:
.
.br
\fBrealpath /tmp\fR prints \fB/private/tmp\fR which is the physical path\.
.
.P
\fBrealpath ~ /opt/local/\fR prints \fB/Users/jalcazar\fR \fB/opt/local\fR
.
.P
.
.br
\fBrealpath \-q /not_existent_path\fR does not print anything because \fB\-q\fR was used\.
.
.P
\fBrealpath /not_existent_path\fR prints \fBrealpath: /not_existent_path: No such file or directory\fR to the standard error output\.
.
.P
.
.br
.
.SH "EXIT STATUS"
.
.IP "1." 4
Exits with 0 status on success\.
.
.IP "2." 4
If \fB\-q\fR is used exits with 0 status even if errors occurred\.
.
.IP "3." 4
Exits with non 0 status if errors occur and \fB\-q\fR was not used\.
.
.IP "" 0
.
.P
.
.br
.
.SH "SEE ALSO"
\fBrealpath(3)\fR \fBreadlink(1)\fR
.
.P
.
.br
.
.SH "AUTHORS"
Copyright (c) 2014 - 2024, Javier