Skip to content
EntityQ305928· pop 27· linked from 227 articles

pwd (print working directory) is a shell command that reports the working directory path to standard output.

Key facts

Software.name
pwd
Software.screenshot
Pwdkommando.png
Software.caption
The pwd command
Software.author
AT&T Bell Laboratories
Software.developer
Various open-source and commercial developers
Software.programming language
C
Software.operating system
Multics, Unix, Unix-like, V, Plan 9, Inferno, SpartaDOS X, PANOS, Windows CE, KolibriOS
Software.platform
Cross-platform
Software.genre
Command
Software.license
coreutils: GPLv3+Plan 9: MIT License

via Wikipedia infobox

Wikidata facts

Image
Pwdkommando.png
Show 3 more facts
Stack Exchange tag
stackoverflow.com/tags/pwd
has command line option
P
Sources (3)

via Wikidata · CC0

~2 min read

Article

6 sections
Contents
  • Examples
  • Shell variables
  • See also
  • References
  • Further reading
  • External links

pwd (print working directory) is a shell command that reports the working directory path to standard output.

Although often associated with Unix, its predecessor Multics had a pwd command (which was a short name of the print_wdir command) from which the Unix command originated. The command is part of the X/Open Portability Guide since issue 2 of 1987. It was inherited into the first version of POSIX.1 and the Single Unix Specification. It appeared in Version 5 Unix. The version bundled in GNU Core Utilities was written by Jim Meyering.

Connections

Categories