Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

&& and || as if?

This interview card answers: && and || as if? A && b: b runs if a worked. A || b: b runs if a failed. Example.

&& and || as if? a && b: b runs if a worked. a || b: b runs if a failed. Example.
&& and || as if? · Download PNG
Read card text

What this card says

What it is

a && b: b runs if a worked.

Why it matters

a || b: b runs if a failed.

How / example

Example.

mkdir -p logs || exit 1

See all AWS revision cards