pwd
From Wikipedia, the free encyclopedia
- PWD is also an initialism for "person with disabilities" or Portuguese Water Dog. It can also be an initialism for Parkway Drive, an Australian metalcore band. Other meanings include Public Works Department.
The pwd command (print working directory) is used to print the name of current working directory from a computer's command-line interface. If the shell prompt does not already show this, the user can use this command to find their place in the directory tree. This command is found in Unix-like operating systems and other flavors as well.
The command is a shell builtin in certain Unix shells such as sh, and bash. It can be implemented easily with the POSIX C functions getcwd() and/or getwd().
The equivalent on DOS (COMMAND.COM
) and Microsoft Windows (cmd.exe
) is the "cd
" command with no arguments. Windows PowerShell provides the equivalent "Get-Location
" cmdlet with the standard aliases "gl
" and "pwd
". The OpenVMS equivalent is "show default
".
[edit] Example
$ pwd
/home/foobar
[edit] See also
[edit] External links
|