Scroll to navigation

PWD(1) 用戶命令 PWD(1)

名稱

pwd - 顯示出當前/活動目錄的名稱

概述

pwd [選項]...

描述

輸出當前工作目錄的完整名稱。

使用環境變量中的 PWD,即使其中包含符號鏈接
避免所有符號鏈接
顯示此幫助信息並退出
顯示版本信息並退出

如果沒有指定任何選項,默認使用 -P

注意:您的 shell 可能內置了自己的 pwd 程序版本,它通常會覆蓋這裏所提及的相應版本。請查閱您的 shell 文檔獲知它所支持的選項。

作者

由 Jim Meyering 編寫。

報告錯誤

GNU coreutils 的在線幫助: <https://www.gnu.org/software/coreutils/>
請向 <https://translationproject.org/team/zh_CN.html> 報告翻譯錯誤。

版權

Copyright © 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

參見

getcwd(3)

完整文檔請見: <https://www.gnu.org/software/coreutils/pwd>
或者在本地使用: info '(coreutils) pwd invocation'

本頁面中文版由中文 man 手冊頁計劃提供。
中文 man 手冊頁計劃:https://github.com/man-pages-zh/manpages-zh

2020年三月 GNU coreutils 8.32