Skip to content

Glossary: Computer Hardware Basics

if

Also written: if statement, then, fi

A script statement that runs commands only when a test in square brackets is true. else gives the other case, and fi ends it.

Where the book teaches it

Related terms

script