dreamno

导航

 

2018年4月25日

摘要: test命令用法。 功能:检查文件和比较值 1)判断表达式 if test (表达式为真) if test !表达式为假 test 表达式1 –a 表达式2 两个表达式都为真 test 表达式1 –o 表达式2 两个表达式有一个为真 2)判断字符串 test –n 字符串 字符串的长度非零 test 阅读全文
posted @ 2018-04-25 17:12 dreamno 阅读(271) 评论(0) 推荐(0) 编辑