Fun with BASH, how to script more with less

Category: 
Audience: 

Bash is good at running many commands at the same time. What if you expect a few to fail, and you don't know which? This talk presents and demonstrates how to focus on the few commands that didn't work, while the computer is still running all the others.

Bash is good at running many commands at the same time. What if you expect a few to fail, and you don't know which? This talk presents and demonstrates how to focus on the few commands that didn't work, while Bash is still running all the others. A loop can launch many processes, but having too many processes at once can be bad for your system, so using xargs with the -P option lets you limit how many processes are created. Since xargs itself doesn't tell you which commands failed, or help you communicate with stalled processes, it is often usful to include file redirection or automatically created terminal windows.

Speaker: Alex Perry
Downloads