:man| Alphabetical   Categories   About us 
 
PWD (1) | General commands | Unix Manual Pages | :man

NAME

pwd - return working directory name

CONTENTS

Synopsis
Description
Environment
Exit Status
See Also
Standards
Bugs

SYNOPSIS

pwd [-L-| -P ]

DESCRIPTION

The pwd utility writes the absolute pathname of the current working directory to the standard output.

Some shells may provide a builtin pwd command which is similar or identical to this utility. Consult the builtin(1) manual page.

The options are as follows:

-L Display the logical current working directory.
-P Display the physical current working directory (all symbolic links resolved).

If no options are specified, the -P option is assumed.

ENVIRONMENT

Environment variables used by pwd:
PWD Logical current working directory.

EXIT STATUS


.Ex -std

SEE ALSO

builtin(1), cd(1), csh(1), sh(1), getcwd(3)

STANDARDS

BUGS

csh(1)


Share this page

     Follow us

Facebook Twitter Google+ LinkedIn


 
Created by Blin Media, 2008-2013