pwd(1) "ctools" # NAME pwd - prints current working directory. # SYNOPSIS *pwd* [ -L | -P ] # DESCRIPTION Prints current working directory to stdout. # OPTIONS *-L* This flag is implemented for POSIX compatibility and has no effect. *-P* This flag is implemented for POSIX compatibility and has no effect. # UNSPECIFIED BEHAVIOR The POSIX standard specifies the -L and -P flags as having an effect on the resolution of symlinks in preparing the pathname to print. However, the ctools implementation of pwd always simply prints the value returned from *getcwd*(3), regardless of any flags specified. # DISCLAIMER This command is part of ctools and is compatible with POSIX-1.2018, and may optionally support XSI extensions. This man page is not intended to be a complete reference, and where it disagrees with the specification, the specification takes precedence.