xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!
摘要: How to use a shell script to check whether a command had been installed in the Linux server All In One shell script error [: :需要整数表达式 / [: -eq:需要一元表达式 /[: ==:需要一元表达式 如果 if 语句使用的是单层方括号 [ ] 条件修饰符, 变量必须加上双引号 如果 if 语句使用的是双层方括号 [[ ]] 条件修饰符, 变量就不需要引号了 阅读全文
posted @ 2023-09-22 15:49 xgqfrms 阅读(31) 评论(2) 推荐(0) 编辑