coreutils

General Software Utilities
git clone http://git.omkov.net/coreutils
Log | Tree | Refs | README | LICENCE | Download

coreutils/man/pwd.1 (45 lines, 1.1 KiB) -rw-r--r-- file download

e2140ec Jamozed 2022-03-06 15:27:45
0
.TH PWD 1 2022-03-06 "OMKOV coreutils" "General Commands Manual"
b3fcfc9 Jamozed 2020-06-26 22:55:54
1
.SH NAME
b3fcfc9 Jamozed 2020-06-26 22:55:54
2
pwd \(em print working directory name
b3fcfc9 Jamozed 2020-06-26 22:55:54
3
.SH SYNOPSYS
b3fcfc9 Jamozed 2020-06-26 22:55:54
4
\fBpwd\fR [-L|-P]
b3fcfc9 Jamozed 2020-06-26 22:55:54
5
.SH DESCRIPTION
b3fcfc9 Jamozed 2020-06-26 22:55:54
6
Write the absolute pathname of the current working directory to standard output,
b3fcfc9 Jamozed 2020-06-26 22:55:54
7
which does not contain the filenames dot or dot-dot. If no option is specified,
b3fcfc9 Jamozed 2020-06-26 22:55:54
8
\fIpwd\fR behaves as if the \fB-L\fR option was specified.
b3fcfc9 Jamozed 2020-06-26 22:55:54
9
.SH OPTIONS
b3fcfc9 Jamozed 2020-06-26 22:55:54
10
The following options are supported:
b3fcfc9 Jamozed 2020-06-26 22:55:54
11
.TP
b3fcfc9 Jamozed 2020-06-26 22:55:54
12
.B -L
b3fcfc9 Jamozed 2020-06-26 22:55:54
13
Display the logical current working directory.
b3fcfc9 Jamozed 2020-06-26 22:55:54
14
.TP
b3fcfc9 Jamozed 2020-06-26 22:55:54
15
.B -P
b3fcfc9 Jamozed 2020-06-26 22:55:54
16
Display the physical current working directory (avoid symbolic links).
b3fcfc9 Jamozed 2020-06-26 22:55:54
17
.TP
b3fcfc9 Jamozed 2020-06-26 22:55:54
18
.B --help
b3fcfc9 Jamozed 2020-06-26 22:55:54
19
Display help information.
b3fcfc9 Jamozed 2020-06-26 22:55:54
20
.TP
b3fcfc9 Jamozed 2020-06-26 22:55:54
21
.B --version
b3fcfc9 Jamozed 2020-06-26 22:55:54
22
Display version information.
b3fcfc9 Jamozed 2020-06-26 22:55:54
23
.SH ENVIROMENT
b3fcfc9 Jamozed 2020-06-26 22:55:54
24
The following enviroment variable is used by \fIpwd\fR:
b3fcfc9 Jamozed 2020-06-26 22:55:54
25
.TP
b3fcfc9 Jamozed 2020-06-26 22:55:54
26
.I PWD
b3fcfc9 Jamozed 2020-06-26 22:55:54
27
An absolute pathname to the current working directory.
b3fcfc9 Jamozed 2020-06-26 22:55:54
28
.SH EXIT STATUS
b3fcfc9 Jamozed 2020-06-26 22:55:54
29
The following exit values will be returned:
b3fcfc9 Jamozed 2020-06-26 22:55:54
30
.TP
b3fcfc9 Jamozed 2020-06-26 22:55:54
31
\ 0
b3fcfc9 Jamozed 2020-06-26 22:55:54
32
Successful completion.
b3fcfc9 Jamozed 2020-06-26 22:55:54
33
.TP
b3fcfc9 Jamozed 2020-06-26 22:55:54
34
>0
b3fcfc9 Jamozed 2020-06-26 22:55:54
35
An error occurred.
b3fcfc9 Jamozed 2020-06-26 22:55:54
36
.SH STANDARDS
b3fcfc9 Jamozed 2020-06-26 22:55:54
37
The \fIpwd\fR utility is compliant with the IEEE Std 1003.2-1992 ("POSIX.2")
b3fcfc9 Jamozed 2020-06-26 22:55:54
38
specification.
b3fcfc9 Jamozed 2020-06-26 22:55:54
39
.SH COPYRIGHT
b3fcfc9 Jamozed 2020-06-26 22:55:54
40
.nf
b3fcfc9 Jamozed 2020-06-26 22:55:54
41
Copyright (C) 2020, Jakob Wakeling
e2140ec Jamozed 2022-03-06 15:27:45
42
MIT Licence (https://opensource.org/licenses/MIT)
b3fcfc9 Jamozed 2020-06-26 22:55:54
43
.fi
44