I understand that if I execute a command in the shell with the ampersand operators e.g.
command1&&command2 and should the first command execute successfully it does so with a zero exit status.
Is this similar or different to that of boolean logic whereby 0 is false and 1 is true or have I understood it incorrectly?
Does the type of shell you use make a difference? I am currently running the Bourne-Again Shell.