BASENAME(1) | 用户命令 | BASENAME(1) |
basename - 去除文件名中的目录与后缀
basename 名称 [后缀]
basename 选项... 名称...
打印已经移除所有目录相关信息后的(文件)名称。若特别指定,则同时移除指定的后缀名。
必选参数对长短选项同时适用。
由 David MacKenzie 编写。
GNU coreutils 的在线帮助:
<https://www.gnu.org/software/coreutils/>
请向 <https://translationproject.org/team/zh_CN.html>
报告翻译错误。
Copyright © 2022 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.
dirname(1), readlink(1)
完整文档请见:
<https://www.gnu.org/software/coreutils/basename>
或者在本地使用: info
'(coreutils) basename invocation'
本页面中文版由中文
man 手册页计划提供。
中文 man
手册页计划:https://github.com/man-pages-zh/manpages-zh
2022年9月 | GNU coreutils 9.1 |