Chaining
Chaining: Did It Work? Exit Codes, && and ||.
Updated
- Did It Work? Exit Codes, && and || (Apprentice): Every command ends with an exit code, 0 when it worked and another number when it didn't, which $? shows; && runs the next command only if the last one worked, || only if it failed, and ; either way.