Provided by: manpages-zh_1.6.3.3-2_all bug

名稱

       realpath - 輸出經過解析的文件路徑

概述

       realpath [選項]... 文件列表...

描述

       輸出經過解析的絕對文件名;文件名除最後部分以外的所有部分都必須存在

       -e, --canonicalize-existing
              路徑中的所有組成部分必須存在

       -m, --canonicalize-missing
              路徑的各個部分不必須存在,不存在者將被視爲目錄

       -L, --logical
              在符號鏈接前解析“..”部分

       -P, --physical
              解析遇到的符號鏈接(默認)

       -q, --quiet
              隱藏大多數錯誤信息

       --relative-to=指定目錄
              輸出相對於指定目錄所解析的路徑

       --relative-base=指定目錄
              路徑在指定目錄之下則輸出相對它的路徑,否則輸出絕對路徑

       -s, --strip, --no-symlinks
              不要擴展符號鏈接

       -z, --zero
              使每行輸出以 NUL 字符結束,不添加換行符

       --help 顯示此幫助信息並退出

       --version
              顯示版本信息並退出

作者

       由 Padraig Brady 編寫。

報告錯誤

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

版權

       Copyright  ©  2017  Free  Software  Foundation, Inc.  License GPLv3+: GNU GPL version 3 or
       later <http://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.

參見

       readlink(1), readlink(2), realpath(3)

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

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