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

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:

Buffy
11 days ago
If I wanted to run command2 regardless of command1's success, I'd just use 'command1 ; command2'. Easy peasy!
upvoted 0 times
...
Breana
12 days ago
Haha, option C is definitely wrong. Redirecting the output of command1 to command2 wouldn't achieve the desired result. I'm sticking with D.
upvoted 0 times
...
Ellsworth
16 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
22 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
23 days ago
I think the correct answer is D. Using '&&' ensures that command2 only runs if command1 completes successfully.
upvoted 0 times
Jesus
1 days ago
Yes, you are right. Option D is the correct answer for running command2 only if command1 completes successfully.
upvoted 0 times
...
Quentin
6 days ago
I think the correct answer is D. Using '&&' ensures that command2 only runs if command1 completes successfully.
upvoted 0 times
...
...
Caitlin
2 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
2 months ago
I agree with Amos. Using && means command2 will only run if command1 is successful.
upvoted 0 times
...
Amos
2 months ago
I think the answer is D) command1 && command2.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77
a