Table of Contents

About

The AND or && is:

where:

  • the next command is executed if, and only if,
  • the previous command is successfull (ie returns an exit status of zero (true))

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.