摘要: Shell中的 test 命令用于检查某个条件是否成立,它可以进行数值、字符和文件三个方面的测试。 数值测试 例如: 复制代码 代码如下: num1=100 num2=100 if test $[num1] -eq $[num2] then echo 'The two numbers are equ 阅读全文
posted @ 2016-06-16 16:27 飞雪^流星 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 操作系统 [oracle@RAC02 ~]$ lsb_release -aLSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarc 阅读全文
posted @ 2016-06-16 10:54 飞雪^流星 阅读(5840) 评论(1) 推荐(1) 编辑