Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 282 Bytes

File metadata and controls

18 lines (15 loc) · 282 Bytes

if Statement

if test-commands; then
  consequent-commands;
[elif more-test-commands; then
  more-consequents;]
[else alternate-consequents;]
fi

case statement

    case word in
        [ [(] pattern [| pattern]…) command-list ;;]…
    esac