How many times will the following loop execute as part of a script:
#!/bin/bash
COUNTER=0
while [ $COUNTER -lt 7 ]
do
echo “hello world”
done
A. 0
B. 1
C. 7
D. until ctrl-c is used to terminate it
Answer: D
You might also like to view...
Polymorphism means ______________.
a. that data fields should be declared private b. that a class can extend another class c. that a variable of supertype can refer to a subtype object d. that a class can contain another class
Some loops are controlled by reducing, or ____.
A. decrementing B. incrementing C. indicating D. compensating
Unless you want the object to be aligned with the left or right margin of a web page, you must treat it as a(n) ________ character
Fill in the blank(s) with correct word
A differential backup covers what data on a system?
a. It includes all data every time it is performed. b. It includes only data that has changed since the last backup. c. It includes data that has changed since the last full backup. d. It includes data that has changed since the last incremental backup.