title: How can I run a list of commands in parallel?
body: <p>I have a file containing command lines that I want to run. This file contains around 2,000 lines.</p>
  
  <p>I have 8 cores available. Is it possible to parse the file and start 8 processes, then execute another one from the file whenever one of the programs finishes? I want this to continue until the end of file is reached.</p>