条件判断

格式1:#test<测试表达式> 格式2:#[<测试表达式>] 格式3:#[[<测试表达式>]] 说明:格式1 和 格式2是等价的。 [[email protected] shell]# test -f 1 && echo true || echo false false [[email protected] shell]# [[email protected] shell]# [[email p
相关文章
相关标签/搜索