Leave a message
Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 0d 18h 25m 52s Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Micro Focus Exam 050-733 Topic 3 Question 77 Discussion

Actual exam question for Micro Focus's 050-733 exam
Question #: 77
Topic #: 3
[All 050-733 Questions]

You would like to run command2 only if command1 completed successfully.

Which command accomplishes this task?

Show Suggested Answer Hide Answer
Suggested Answer: B, C

Contribute your Thoughts:

Ellsworth
2 days ago
I was going to choose B, but then I realized that ';' is just for sequential execution, not conditional. D seems like the way to go.
upvoted 0 times
...
Jannette
8 days ago
Option A looks good, but I'm not sure if '||' is the right operator for this task. Hmm, let me think about this some more.
upvoted 0 times
...
Joesph
9 days ago
I think the correct answer is D. Using '&&' ensures that command2 only runs if command1 completes successfully.
upvoted 0 times
...
Caitlin
1 months ago
I'm not sure, but I think D) makes sense. It's like saying 'run command2 only if command1 is successful'.
upvoted 0 times
...
Roselle
1 months ago
I agree with Amos. Using && means command2 will only run if command1 is successful.
upvoted 0 times
...
Amos
1 months ago
I think the answer is D) command1 && command2.
upvoted 0 times
...

Save Cancel
a