pwd

Prints working directory

APPLICABILITY


Product

Command Type

ClearCase


cleartool subcommand


ClearCase LT


cleartool subcommand


Attache


command


MultiSite


multitool subcommand


Platform

UNIX


Windows

SYNOPSIS

pwd

DESCRIPTION

The pwd command lists the current working directory. This command is intended for use in interactive cleartool and multitool sessions, and in batch files or shell scripts that simulate interactive sessions.

UNIX-The version-Extended Namespace

In version-extended namespace, the current working directory is listed as a pathname that is both view-extended and version-extended. (See the pathnames_ccase reference page.) It includes the version of each directory element between the current location and the VOB root directory. For example:

cd util.c@@main

cmd-context  pwd

/view/akp@@/usr/hw/main/1/src/main/1/util.c/main

RESTRICTIONS

None.

EXAMPLES

The UNIX examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.

The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.

In cleartool single-command mode, cmd-context represents the UNIX shell or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt. In Attache, cmd-context represents the workspace prompt.

SEE ALSO

cd, pwv