PWD

PWD ( P RINT W¯¯ 工作会有 d irectory)当前工作目录你在此刻:

~> $ echo $PWD
/home/user
~> $ cd directory
directory> $ echo $PWD
/home/user/directory