Table of Contents

What is the AND / && Boolean operator in the Bash Shell?

About

The AND or && is:

where:

Example

An AND list has the form

command1 && command2

Return status

The return status of AND lists is the exit status of the last command executed in the list.

Left associativity

AND list are executed with left associativity.