I want to be able to run more than one command at a time.
I have some code that execs an ls of several large nfs mounted directories, and compares them with other mounted directories. This method takes FORever!
I'm wondering if there is a way to have the script run all the ls's at the same time, so I don't have to wait for it to finish each one. It checks approx 20 directoreis with well over 30,000 files, that all have to remain in sync. Is there a way to do multiple threads? or is there a better way?