pwd(1) returns the working directory name. It writes the absolute pathname of the current working directory to the standard output.
% pwd % /home/john