IT 244: Introduction to Linux/Unix
Class 22 Ungraded Quiz
-
What are control structures?
-
What are the two basic types of control structures?
-
What is the basic format of the
if ... then
construct?
-
How is the command that follows
if
used to determine whether or not the statements between the then
and fi
keywords are executed?
-
What does an exit status of 0 mean?
-
What are the two keywords that surround the statements inside an
if
statement?
-
Can the
then
keyword appear on the same line as if
?
-
What does the
test
command do?
-
What is the value of the exit status returned by
test
to indicate that the expression is true?
-
Does the command that follows
if
need to be test
?