plan9 man page for pwd

Query: pwd

OS: plan9

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PWD(1)							      General Commands Manual							    PWD(1)

NAME
pwd, pbd - working directory
SYNOPSIS
pwd pbd
DESCRIPTION
Pwd prints the path name of the working (current) directory. Pwd does not guarantee to return the same path that was used to enter the directory. The returned path may be another route through the name space to the same working directory. This behavior will arise when a combination of mounts or binds produces a graph in the file name space tree. Pbd prints the base name of the working (current) directory. It prints no final newline and is intended for applications such as con- structing shell prompts.
SOURCE
/sys/src/cmd/pwd.c /sys/src/cmd/pbd.c
SEE ALSO
cd in rc(1), bind(1), getwd(2)
BUGS
A kernel bug sometimes prevents pbd from working when the current directory is a device, in which case pbd returns `.'. PWD(1)
Related Man Pages
pwd(1) - linux
pwd(1) - debian
pwd(3tcl) - debian
pwd(1) - suse
pwd(1) - opendarwin
Similar Topics in the Unix Linux Community
Unable to view contents of a directory
set prompt = pwd
Make pwd print escape character
$PWD vs `pwd`
Does the pam_pwdfile module support clear text passwords?