Skip to content

Glossary: Shipping to the App Stores

if

Also written: if ... then ... fi, test

A shell statement that runs lines only when a test is true; `if [ test ]; then ... fi`. `-d`, `-f`, `-gt`, `-ne` and `!=` are tests used in the checker.

Where the book teaches it

Related terms

Exit codeScript