SyntaxFix
Write A Post
Hire A Developer
Questions
&& strings commands together. Successive commands only execute if preceding ones succeed.
&&
Similarly, || will allow the successive command to execute if the preceding fails.
||
See Bash Shell Programming.