PWD(1SH) COMMAND REFERENCE PWD(1SH)
NAME
pwd - working directory name (sh built-in)
SYNOPSIS
pwd
DESCRIPTION
Pwd prints the pathname of the working (current) directory.
EXAMPLES
To print the pathname of the current working directory type
the following.
pwd
RETURN VALUE
[NO_ERRS] Command completed without error.
[NP_ERR] An error occurred that was not a system
error. Execution terminated.
CAVEATS
The length of the path returned is limited to MAXPATHLEN
characters.
The command pwd is also available as a shell script for
programs that need to execute it directly, such as csh.
SEE ALSO
break(1sh), cd(1sh), chdir(1sh), continue(1sh), csh(1csh),
echo(1sh), eval(1sh), exec(1sh), exit(1sh), export(1sh),
hash(1sh), login(1), read(1sh), readonly(1sh), return(1sh),
set(1sh), sh(1sh), shift(1sh), test(1sh), times(1sh),
trap(1sh), type(1sh), ulimit(1sh), umask(1sh), unset(1sh),
wait(1sh), which(1sh), chdir(2), execve(2), getwd(3c).
Printed 10/17/86 1
%%index%%
na:72,82;
sy:154,85;
de:239,162;
ex:401,161;
rv:562,244;
ca:806,277;
se:1083,887;
%%index%%000000000115