Thành Nguyễn
New member
What does || do in Linux?
Answer
The OR Operator (||) is much like an ‘else’ statement in programming. The above operator allow you
to execute second command only if the execution of first command fails, i.e., the exit status of first command is ‘1’.
Answer
The OR Operator (||) is much like an ‘else’ statement in programming. The above operator allow you
to execute second command only if the execution of first command fails, i.e., the exit status of first command is ‘1’.