运维网's Archiver
论坛
›
Shell/Powershell
› shell中无法执行!=
renran421
发表于 2018-8-25 12:11:51
shell中无法执行!=
shell无法执行使用!= 解决办法是
if [[]]
例如
if [[ $1 != '3' ]]; then
……
fi
多个逻辑的可以这么写
if ` `.``.``.` ` || ` `.``.``.` `;then
页:
[1]
查看完整版本:
shell中无法执行!=