Part of the if/elif conditional construct.

Synopsis

if CONDITION; then COMMANDS; fi

Description

then introduces the command list to execute when the preceding if or elif condition is true. It is not used standalone. Runs in the just-bash WASM shell inside SLICC.

Examples

$ if true; then echo "yes"; fi

Execute the then-block when condition is true.

See Also

if, fi, else, elif