Tip for Linux shell beginners: Execute a second command only if the first one wa...
Monospace Mentor @monospace@floss.social
Tip for Linux shell beginners: Execute a second command only if the first one was successful.
`command_1 && command 2`
Background: This compound command uses the result code returned by `command_1` with the "shortcircuit" behaviour of the "logical AND" `&&` operator.