zl程序教程

您现在的位置是:首页 >  系统

当前栏目

Linux:命令执行控制&&与||

2023-09-27 14:28:10 时间

1、&&

  方式:command1 && command2

  如果command1执行成功,则执行command2

2、||

方式:command1 || command2

如果command1执行失败,则执行command2