1293
Linux Users
(lemmy.ml)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
You can use
||
between two commands as well. If the first command returns exit code != 0, the second command will run.I.e.
which ansible || pip install ansible
.Or && for if you only want the second command to run if the first command succeeded.