The && talked about above is essentially a short hand way of doing an if statement e.g. in the line:
command 1 && command 2
command 2 will only be executed if command 1 is successful(zero exit status). You can add to this line thus:
command 1 && command 2 || command 3
In this line command 2...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.