bash && vs semicolon
$ cmd1 && cmd2
will evaluate cmd 2 if cmd1 has a positive error status (0)
$ cmd1; cmd2
will evaluate cmd2 regardless of exist status of cmd1
bash && vs semicolon
$ cmd1 && cmd2
will evaluate cmd 2 if cmd1 has a positive error status (0)
$ cmd1; cmd2
will evaluate cmd2 regardless of exist status of cmd1
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us