Glossary: Operating System Basics
if
Also written: then, else, fi
A script statement that runs the commands after `then` when a test is true and the ones after `else` when it's false; `fi` ends it. `health.sh` uses it to choose OK or WARN.
Glossary: Operating System Basics
Also written: then, else, fi
A script statement that runs the commands after `then` when a test is true and the ones after `else` when it's false; `fi` ends it. `health.sh` uses it to choose OK or WARN.