Jump to content

Pwd: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Curps (talk | contribs)
m Reverted edits by 84.241.8.130 (talk) to last version by FlaBot
Line 1: Line 1:
{{lowercase|title=pwd}}
<p align="center"><b><font size="6">Mr.He§y 0wnz Ur SuX b0x !</font></b></p>

<h1>Greetz : To Hadi_Zedehal , A.Nosrati & All Members of Virangar Hacking Team </h1>
The '''pwd''' [[command (computing)|command]] ('''p'''rint '''w'''orking '''d'''irectory) is used to print the name of current [[working directory]] from a [[computer]]'s [[command-line interface]]. If the [[UNIX shell|shell]] [[prompt]] does not already show this, the user can use this command to find their place in the [[filesystem|directory tree]]. This command is found in the [[Unix]] family of [[operating system]]s and other flavors as well. The [[DOS]] equivalent is "<tt>[[chdir|cd]]</tt>" with no arguments.

It is a command which is sometimes included built into certain [[UNIX shell|shell]]s such as [[Bourne shell|sh]], and [[Bourne-Again shell|bash]]. It can be implemented easily with the [[POSIX]] [[C programming language|C]] functions <tt>getcwd()</tt> and/or <tt>getwd()</tt>.

==External links==
*[http://www.linuxmanpages.com/man1/pwd.1.php] The program's [[manpage]]

[[Category:Unix software]]

[[es:Pwd]]
[[nl:Pwd (Unix)]]
[[sv:Pwd]]

Revision as of 20:36, 27 December 2005


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 the Unix family of operating systems and other flavors as well. The DOS equivalent is "cd" with no arguments.

It is a command which is sometimes included built into certain shells such as sh, and bash. It can be implemented easily with the POSIX C functions getcwd() and/or getwd().

External links