如何解释bash命令“用法”语法?
发布时间:2020-12-15 18:42:44 所属栏目:安全 来源:网络整理
导读:例如,你究竟如何解释命令“usage”输出的输出. 例如,在我的OS X上,cp给了我 usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory 嵌套选项(如-H在-R中)
例如,你究竟如何解释命令“usage”输出的输出.
例如,在我的OS X上,cp给了我 usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory >嵌套选项(如-H在-R中)表示什么? 我需要针对我的程序实现一个telnet命令行,我想直截了当.
对于任何想要了解输出用法意味着什么的人来说,最好的办法就是男人.
认真地:-)花时间学习惯例,这真的很有帮助. The following conventions apply to the SYNOPSIS section and can be used as a guide in other sections. bold text type exactly as shown. italic text replace with appropriate argument. [-abc] any or all arguments within [ ] are optional. -a|-b options delimited by | cannot be used together. argument ... argument is repeatable. [expression] ... entire expression within [ ] is repeatable. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |