Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide


pwd command (outputs the path of the current directory)

Organization of this page

Format

pwd  [-L|-P]

Description

This command outputs the path of the current directory to the standard output.

Arguments

Specifying no options is equivalent to specifying the -L option.

-L

Specifies that if the current directory path contains a symbolic link (a link using a file that contains the actual file path), the symbolic link is to be output. If the -L and -P options are both specified, the option specified last takes effect.

-P

Specifies that the path that does not contain a symbolic link is to be output. If the -L and -P options are both specified, the option specified last takes effect.

In Windows, the -P option is ignored.

Return codes

Return code

Meaning

0

Normal termination

1

Error termination

Notes

Usage example