I'm running this command on my Mac OS X on 8 cores:for i in $(cat file1);do grep $i file2; done > output.txtMy file2 is 9 million lines so it takes a lot of time. Is it possible to use all the cores to split the job and do everything faster?
Run fgrep multicore mac os x
grep;osx;parallelism