view docs/nitros9guide/pwd.refentry @ 306:c863af5b4ea1

init.asm: extended (see os9defs( os9.asm: added code to set D.CRC based on flag in init module
author boisy
date Mon, 22 Jul 2002 23:15:21 +0000
parents d9631713b7cd
children b5ff125a1d60
line wrap: on
line source

<refentry id="pwd">
<refnamediv>
<refname>PWD/PXD</refname>
<refpurpose>Print Working Directory / Print Execution Directory</refpurpose>
</refnamediv>

<refsynopsisdiv>
<cmdsynopsis>
<command>PWD</command>
</cmdsynopsis>
<cmdsynopsis>
<command>PXD</command>
</cmdsynopsis>
</refsynopsisdiv>

<refsect1><title>Description</title>
<para>
PWD displays a pathlist that shows the path from the root
directory to the user's current data directory. It can be used by
programs to discover the actual physical location of files, or by
humans who get lost in the file system. PXD is identical except
that is shows the pathlist of the user's current execution directory.
</para>
</refsect1>
<refsect1><title>Examples</title>
<screen>
OS9: chd /D1/STEVE/TEXTFILES/MANUALS
OS9: pwd
/D1/STEVE/TEXTFILES/MANUALS
OS9: chd ..
OS9: pwd
/D1/STEVE/TEXTFILES
OS9: chd ..
OS9: pwd
/D1/STEVE

OS9: pxd
/D0/CMDS
</screen>
</refsect1>
</refentry>