Sunday 21 April 2019

bash - running for loop - but wait for string of words in log file to continue

so far I have this:


for each in {01..10} ; do ./sb0$each/tomcat_sb0$each start;done

that will start my apps at once, but I want it to wait until it reads one line in a file, what's the easiest way to do that?

No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...