You would like to run command2 only if command1 did not complete successfully. Which command accomplishes this task?
A) command1 ;; command2
B) command1 || command2
C) command1 >> command2
D) command1 && command2
Correct Answer:
Verified
Q14: You want to add user tux to
Q15: Which command can you use to generate
Q16: You want to use the ip command
Q17: You have a text file that contains
Q18: What is the name of the file
Q20: Which parts can be combined in the
Q21: To preserve the command history even when
Q22: You wonder which installed RPM package the
Q23: In a terminal window, which command displays
Q24: In the bash shell, which command can
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents