Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pwd(1) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cd(1)

ksh(1)

sh(1)

pwd(1)                                                               pwd(1)

NAME
     pwd - print path name of working directory

SYNOPSIS
     pwd

DESCRIPTION
     The shell built-in pwd writes the absolute path name of the working
     (current) directory on the standard output.

     If the error message

     Cannot open ...

     or

     Read error in ...

     is displayed, a file system error has occurred. Inform the system
     administrator.

LOCALE
     The LCMESSAGES environment variable governs the language in which
     message texts are displayed. If LCMESSAGES is undefined or is defined
     as the null string, it defaults to the value of LANG. If LANG is like-
     wise undefined or null, the system acts as if it were not internation-
     alized.

     The LCALL environment variable governs the entire locale. LCALL
     takes precedence over all the other environment variables which affect
     internationalization.

EXAMPLE
     You want to define your current directory as prg directory:

     $ pwd
     /usr/art/cobol/prg

     $ prg=`pwd`; export prg

     $ echo $prg
     /usr/art/cobol/prg













Page 1                       Reliant UNIX 5.44                Printed 11/98

pwd(1)                                                               pwd(1)

NOTES
     pwd exists both as an external command (/usr/bin/pwd) and as a built-
     in shell command, both in the Korn shell ksh(1) as well as in the
     Bourne shell sh(1). The shell generates a new process to execute
     /usr/bin/pwd.

     Some differences in behavior may occur when using pwd, depending on
     which shell is being used. The possible differences are not described
     specifically.

SEE ALSO
     cd(1), ksh(1), sh(1).










































Page 2                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026