一、作用

  1. 显示当前所在路径

二、实例

[root@xxxx:~ ]# cd /usr/local/
[root@xxxx:/usr/local ]# pwd
/usr/local