C program return codes and && bash symbol?

后端 未结 3 1482
清酒与你
清酒与你 2021-01-19 10:40

In bash, we can use the && operator to execute two commands. For example:

./foo && ./bar

Will first execute foo

3条回答
  •  自闭症患者
    2021-01-19 11:23

    You're not missing anything. You just have to keep in mind that true and false aren't fundamental concepts in the shell. success and failure are.

提交回复
热议问题