exam questions

Exam 010-160 All Questions

View all questions & answers for the 010-160 exam

Exam 010-160 topic 1 question 17 discussion

Actual exam question from LPI's 010-160
Question #: 17
Topic #: 1
[All 010-160 Questions]

FILL BLANK -
What keyword is used in a shell script to begin a loop? (Specify one keyword only, without any additional information.)

Show Suggested Answer Hide Answer
Suggested Answer: for

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Rolland
Highly Voted 3 years, 1 month ago
Either "for" or "while" should be valid answers for this question.
upvoted 9 times
...
james2033
Most Recent 7 months, 1 week ago
"without any additional information" --> it is "for", not "while" keyword.
upvoted 4 times
...
Vovanich
1 year, 2 months ago
for i in {1..5..1} do echo"...................." done exit 0
upvoted 3 times
...
shimij1000
1 year, 4 months ago
for or while
upvoted 1 times
...
linvidia
1 year, 4 months ago
The keyword: FOR
upvoted 2 times
...
leila_123
2 years, 2 months ago
is not do? until... do.... done, for ... do.. done, while ... do...done I think is do
upvoted 1 times
...
blvanre
2 years, 12 months ago
to begin a loop is the question so FOR is the correct answer.
upvoted 3 times
...
MIU
3 years, 4 months ago
please know the difference of while and for...
upvoted 3 times
...
BehemothX
3 years, 8 months ago
I thought it was while too
upvoted 2 times
...
a_a
4 years, 1 month ago
while ?
upvoted 3 times
Peetha
4 years, 1 month ago
I think they are talking about the general term "loop", a while is a conditional loop
upvoted 5 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago