GNU coreutils 8.26
manpages-zh
Chinese manual pages
man-pages-zh-CN
Chinese Man Pages from Chinese Man Pages Project
man-pages-zh_cn
Simplified Chinese Linux man pages
coreutils
The basic file, shell and text manipulation utilities of the GNU operating system
coreutils-common
coreutils common optional components
coreutils-doc
Documentation for the GNU Core Utilities
名称
realpath - 输出经过解析的文件路径
概述
realpath [\,选项\/]... \,文件列表\/...
描述
输出经过解析的绝对文件名;文件名除最后部分以外的所有部分都必须存在
-e, --canonicalize-existing | |
路径中的所有组成部分必须存在 | |
-m, --canonicalize-missing | |
路径的各个部分不必须存在,不存在者将被视为目录 | |
-L, --logical | |
在符号链接前解析“..”部分 | |
-P, --physical | |
解析遇到的符号链接(默认) | |
-q, --quiet | |
隐藏大多数错误信息 | |
--relative-to=\,文件\/ | |
输出相对于给定文件所解析的路径 | |
--relative-base=\,FILE\/ | |
路径在给定文件之下则输出相对它的路径,否则输出绝对路径 | |
-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 的翻译错误。
请向 <http://translationproject.org/team/zh_CN.html> 报告 realpath 的翻译错误。
版权
Copyright © 2016 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.
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 \(aq(coreutils) realpath invocation\(aq
或者在本地使用: info \(aq(coreutils) realpath invocation\(aq
跋
本页面中文版由中文 man 手册页计划提供。
中文 man 手册页计划:https://github.com/man-pages-zh/manpages-zh
中文 man 手册页计划:https://github.com/man-pages-zh/manpages-zh