pwd

Prints working directory

Applicability

Product

Command type

ClearCase®

cleartool subcommand

MultiSite

multitool subcommand

ClearCase Remote Client rcleartool subcommand

Platform

UNIX®

Linux®

Windows®

Web

Synopsis

Description

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

UNIX and Linux —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@@maincmd-context    pwd
/view/akp@@/usr/hw/main/1/src/main/1/util.c/main

Restrictions

None.

Examples

The UNIX system and Linux 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 system and Linux shells or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.

See also

cd, pwv


Feedback