basename和dirname命令常见参数解释,实例演示
$ basename --help
lockdreamer-a, --multiple support multiple arguments and treat each as a NAME ##支持多个参数并将每个参数视为名称
lockdreamer-s, --suffix=SUFFIX remove a trailing SUFFIX ##删除尾随后缀
lockdreamer-z, --zero separate output with NUL rather than newline ##用空而不是换行符分隔输出
lockdreamer$ dirnamename --help
lockdreamer lockdreamerif NAME contains no /,output '.'(meaning the current directory)
lockdreamer
网友评论