What is && in bash?

Nguyên Lê

New member
What is && in bash?
Answer
4 Answers. “&&” is
used to chain commands together
, such that the next command is run if and only if the preceding command exited without errors (or, more accurately, exits with a return code of 0).
 

Tìm kiếm

Back
Top