.TH PWD 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME pwd \(em print working directory name .SH SYNOPSYS \fBpwd\fR [-L|-P] .SH DESCRIPTION Write the absolute pathname of the current working directory to standard output, which does not contain the filenames dot or dot-dot. If no option is specified, \fIpwd\fR behaves as if the \fB-L\fR option was specified. .SH OPTIONS The following options are supported: .TP .B -L Display the logical current working directory. .TP .B -P Display the physical current working directory (avoid symbolic links). .TP .B --help Display help information. .TP .B --version Display version information. .SH ENVIROMENT The following enviroment variable is used by \fIpwd\fR: .TP .I PWD An absolute pathname to the current working directory. .SH EXIT STATUS The following exit values will be returned: .TP \ 0 Successful completion. .TP >0 An error occurred. .SH STANDARDS The \fIpwd\fR utility is compliant with the IEEE Std 1003.2-1992 ("POSIX.2") specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling MIT Licence (https://opensource.org/licenses/MIT) .fi