O'Reilly logo

SAMS Teach Yourself Unix in 10 Minutes by Robert Shimonski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the pwd Command

For users of Windows or MS-DOS, one command you would commonly type at a command prompt is dir. This command (which stands for directory) will list the contents of the directory you are currently in; if you specify the entire path statement to another directory, the command will also let you see the contents of that directory. In Unix, the pwd (present working directory) command asks your machine to tell you what directory you're currently in. The way that Unix displays this information is different than in Windows. For example, in Windows, the path C:\Windows\Temp tells you that there is a folder (directory) called Temp in a folder called Windows, and the Windows folder is currently on the C:\ drive of the operating system. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required