IT 244: Introduction to Linux/Unix
Class 22 Ungraded Quiz

  1. What are control structures?


  2. What are the two basic types of control structures?


  3. What is the basic format of the if ... then construct?


  4. How is the command that follows if used to determine whether or not the statements between the then and fi keywords are executed?


  5. What does an exit status of 0 mean?


  6. What are the two keywords that surround the statements inside an if statement?


  7. Can the then keyword appear on the same line as if ?


  8. What does the test command do?


  9. What is the value of the exit status returned by test to indicate that the expression is true?


  10. Does the command that follows if need to be test?