LPI Exam Questions

What command would execute cmd1 followed by cmd2, regardless of the exit status of cmd1?

What command would execute cmd1 followed by cmd2, regardless of the exit status of cmd1?

A.
cmd1 cmd2

B.
cmd1 | cmd2

C.
cmd1 ; cmd2

D.
cmd1 && cmd2

E.
cmd1 || cmd2