&&
方式:command1 && command2
如果 command1 执行成功,则执行 command2。
||
方式:command1 || command2
如果 command1 执行失败,则执行 command2。
如果 command1 执行成功,则执行 command2。
如果 command1 执行失败,则执行 command2。
原文作者:Maple
原文链接:https://blog.vvcat.cn/2017/11/24/2019/07/comand-control/
发表日期:November 24th 2017, 3:24:09 pm
更新日期:January 9th 2024, 12:20:32 am
版权声明:本文采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可