Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 702-100 Topic 1 Question 18 Discussion

Actual exam question for LPI's 702-100 exam
Question #: 18
Topic #: 1
[All 702-100 Questions]

Which of the following excerpts is a valid if condition in the Bourne shell?

A.

B.

C.

D.

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Bettina
4 days ago
I'm going with Option C. The single square brackets `[` are also a valid way to write an if condition in the Bourne shell.
upvoted 0 times
...
Vilma
6 days ago
Why do you think Option A is correct?
upvoted 0 times
...
Paola
8 days ago
I disagree, I believe Option A is the correct if condition.
upvoted 0 times
...
Demetra
9 days ago
Option B looks like the correct if condition in the Bourne shell. The use of the double square brackets `[[` is a common way to test conditions in shell scripting.
upvoted 0 times
...
Vilma
16 days ago
I think the valid if condition in the Bourne shell is Option C.
upvoted 0 times
...

Save Cancel