Provided by: manpages-zh_1.6.3.2-1_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