Elektrine lite

← Feed

@monospace@floss.social

Post #995259

2026-03-13 17:29 UTC

Tip for Linux shell beginners: Execute a second command only if the first one failed. `command_1 || command 2` Background: This compound command uses the result code returned by `command_1` with the "shortcircuit" behaviour of the "logical OR" `||` operator. #Linux #Shell #Terminal

Replies (2)