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