ความแตกต่างระหว่าง && และ ; ใน shell script-different-symbol-in-shell-script
In the shell, && and ; are similar in that they both can be used to terminate commands. The difference is && is also a conditional operator. With ; the following command is always executed, but with && the later command is only executed if the first succeeds. false; echo “yes” # prints “yes” true; […]