Executing commands in Linux; the difference between &&

  

A command is often used in Linux, such as make && make install, here you can also use make ; make install, then execute commands in Linux; What is the difference between &&?

&& means that the first command is executed successfully to execute the following commands;

; means that the following commands are executed regardless of whether the first command is executed successfully.

Copyright © Windows knowledge All Rights Reserved