Loading...
之前的文章中,我们提到了shell中常用的字符串处理操作,我们来回顾一下一、获取变量的长度(字符串长度)...
上一篇文章中,我们提到了shell中常用的字符串处理操作,我们来回顾一下一、获取变量的长度(字符串长度...
在shell中,当我们已经获取到某个变量的变量值的时候,可能还需要对变量值进行一定的处理,才能到我们最终...
如果直接描述 [ ] 与 [[ ]] 的区别,反而不太容易理解,不如先来看一些应用场景,根据...
bash中,如果想要比较两个数字的大小,最常用的关系运算符就是 “-gt”或者”-lt”了 最...