Use the && control operator to combine two commands so that the second is run only if the first command returns a zero exit status.
使用&&控制操作符来组合两个命令,以便仅当第一个命令返回零退出状态时才运行第二个命令。
Similarly, the || control operator separates two commands and runs the second command only if the first command returns a non-zero exit status.
类似地,||控制操作符分隔两个命令,并且仅当第一个命令返回非零退出状态时才运行第二个命令。
Similarly, the || control operator separates two commands and runs the second command only if the first command returns a non-zero exit status.
类似地,||控制操作符分隔两个命令,并且仅当第一个命令返回非零退出状态时才运行第二个命令。
应用推荐