First page Back Continue Last page Overview

 

Selection Structures: Using the if Statement

 
  • if selection structures execute the body of the structure only if the condition tested is true

    • if [ condition ]; then
    • do something
    • fi