RedHat Red Hat Linux Essentials RH033 Question # 29 Topic 3 Discussion

RedHat Red Hat Linux Essentials RH033 Question # 29 Topic 3 Discussion

RH033 Exam Topic 3 Question 29 Discussion:
Question #: 29
Topic #: 3

John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. John is working as a root user on the Linux operating system. You want to run two programs, foo and bar. You also want to ensure that bar is executed if and only if foo has executed successfully. Which of the following command sequences will John use to accomplish the task?


A.

foo && bar;


B.

foo | bar;


C.

foo; bar;


D.

foo || bar;


Get Premium RH033 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.