Chapter 4: Conditionals Execution (Decision Making)

From Linux Shell Scripting Tutorial - A Beginner's handbook
Jump to: navigation, search
← Chapter 3 ChallengesHomeBash structured language constructs →

Objectives:

  • Use bash control structures to break sequential flow.
  • Testing conditions using if..else..fi and case..in..esac.
  • Use boolean AND, OR, and NOT operators.
  • Comparing numeric, and string data.
  • Comparing file attributes.
  • Passing command line parameters to shell script.
← Chapter 3 ChallengesHomeBash structured language constructs →