Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Bash, made easy:

Run commands, by condition:

A; B    Run A and then B, regardless of success of A
A && B  Run B if A succeeded
A || B  Run B 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