Run commands in parallel - Bash

preview_player
Показать описание
Let's look at how you can run more then one command at the same time in Bash.

--Mind, the mental health charity--------------------------------
Mind
For better mental health

--INFO----------------------------------­------------------------------

#Bash
#LearnBash
#Linux
#BashScripting
#Software
Рекомендации по теме
Комментарии
Автор

Awesome. It took me a while to understand logical operators in bash. This is straight from my notes in case I forget:
bash logical operators

; - runs one command followed by the next
&& - runs one command then the next, only if the first completed successfully
|| - runs one command OR the next command
& - runs one commmand and the next command together

sleepyeyesvince
Автор

This is some good information. My LeftWm uses a 'UP' script in the themes folder that starts the Window Manager and all the lines are formatted like this with the '&' at the end of each command...
Thanks for the video!
LLAP

BrucesWorldofStuff