Pwd

Pwd

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 primarily found in Unix-like operating systems, but can be seen elsewhere 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".

Example

$ pwd/home/foobar

ee also

*List of Unix programs

References

*man|cu|pwd|SUS|return working directory name


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Pwd — est le nom d une commande UNIX qui signifie en anglais « print working directory » permettant d afficher le nom du répertoire courant sur la sortie standard. Exemple d utilisation $> pwd /home/Root Lien externe (fr) Introduction à… …   Wikipédia en Français

  • Pwd — (англ. print working directory  напечатать рабочий каталог)  консольная утилита в UNIX подобных системах, которая выводит полный путь от корневого каталога к текущему рабочему каталогу. Или pwd (англ. present working directory … …   Википедия

  • pwd — est le nom d une commande UNIX qui signifie en anglais « print working directory » permettant d afficher le nom du répertoire courant sur la sortie standard. Remarque : sur certaines distributions, le répertoire courant apparaît… …   Wikipédia en Français

  • pwd — (англ. print working directory[источник не указан 220 дней]  напечатать рабочий каталог)  консольная утилита в UNIX подобных системах, которая выводит полный путь от корневого каталога к текущему рабочему… …   Википедия

  • Pwd — Saltar a navegación, búsqueda El comando pwd (de las siglas en inglés print working directory, cuya traducción sería imprimir directorio de trabajo) se utiliza para imprimir el nombre del directorio actual en una sesión de comandos bajo un… …   Wikipedia Español

  • PWD — or pwd may be an initialism for:*Parkway Drive, a metalcore band from Byron Bay in Australia *Person With Disabilities *pwd (print working directory), the Unix command for locating one s current working directory **A similarly named command in… …   Wikipedia

  • PWD — (public works department) n. government agency that builds and maintains public structures (such as water pipes, roads, bridges, etc.) …   English contemporary dictionary

  • Pwd — Die Abkürzung PWD bezeichnet: die Psychological Warfare Division, eine anglo amerikanische Einheit zur psychologischen Kriegsführung während des 2. Weltkriegs einen Unix Befehl, siehe pwd (Unix) Public Works Department Pulsed wave doppler… …   Deutsch Wikipedia

  • PWD — Die Abkürzung PWD bezeichnet: die Psychological Warfare Division, eine anglo amerikanische Einheit zur psychologischen Kriegsführung während des 2. Weltkriegs einen Unix Befehl, siehe pwd (Unix) Public Works Department Pulsed wave doppler… …   Deutsch Wikipedia

  • PWD — • Print Working Directory Umgebungsvariable unter BSD UNIX, gibt den aktuellen Pfad an, vergl. CWD bzw. pwd • PulseWidth Discriminator ( > IEEE Standard Dictionary ) • pwd Print Working Directory UNIX Shell Kommando http://www.desy.de/cgi… …   Acronyms

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”