RE: Given a server with 4 cpu's, and no databases wri...
Start 4 threads which do the following task:
Opens every nth file (first thread will open 0th 4th 8th 12th file second thread will open 1st 5th 9th and so on)
Scans the file for occurrences of word 'camera' and notes down line numbers (possibly in a hash table -- the key would be the file name with complete path and value will be an array / arraylist containing line numbers)