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 |