Scroll to navigation

READLINK(1) 用户命令 READLINK(1)

名称

readlink - 输出经过解析的符号链接或权威文件名

概述

readlink [选项]... [文件列表]...

描述

输出符号链接值或权威文件名
-f, --canonicalize
递归跟随给出文件名的所有符号链接以标准化;所有组件都必须存在
-e, --canonicalize-existing
递归跟随给出文件名的所有符号链接以标准化,除最后一个外所有组件必须存在
-m, --canonicalize-missing
递归跟随给出文件名的所有符号链接以标准化;各个组件没有必须存在的要求
-n, --no-newline
不要输出末尾定界符

-q, --quiet,

-s, --silent
隐藏大多数错误信息(默认行为)
-v, --verbose
报告错误信息
-z, --zero
使每行输出以 NUL 字符结束,不添加换行符
--help
显示此帮助信息并退出
--version
显示版本信息并退出

作者

由 Dmitry V. Levin 编写。

报告错误

GNU coreutils 的在线帮助: <http://www.gnu.org/software/coreutils/>
请向 <http://translationproject.org/team/zh_CN.html> 报告 readlink 的翻译错误。

版权

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.

参见

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

完整文档请见: <http://www.gnu.org/software/coreutils/readlink>
或者在本地使用: info '(coreutils) readlink invocation'

本页面中文版由中文 man 手册页计划提供。
中文 man 手册页计划:https://github.com/man-pages-zh/manpages-zh
2017年1月 GNU coreutils 8.26