⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 basename.txt

📁 linux下的命令
💻 TXT
字号:
命令名称:basename
指令的作用是取得你輸入路径的最尾端部分,相當於删除路徑,保留檔名;
例如:
root @test /root]# basename /usr/local/etc
etc

basename - strip directory and suffix from filenamesSYNOPSIS       basename NAME [SUFFIX]       basename OPTIONDESCRIPTION       Print  NAME  with  any leading directory components removed.  If speci-       fied, also remove a trailing SUFFIX.       --help display this help and exit       --version              output version information and exitEXAMPLES       basename /usr/bin/sort              Output "sort".       basename include/stdio.h .h              Output "stdio".

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -