Skip to content

Instantly share code, notes, and snippets.

@asalimonov
Created November 7, 2018 10:23
Show Gist options
  • Save asalimonov/89f4a852ddf5304f5c73bb76adeb7572 to your computer and use it in GitHub Desktop.
Save asalimonov/89f4a852ddf5304f5c73bb76adeb7572 to your computer and use it in GitHub Desktop.
Bash command connectors
A; B # Run A and then B, regardless of success of A
A && B # Run B if and only if A succeeded
A || B # Run B if and only if A failed
A & # Run A in background.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment