I am trying to write a shell script to find value stored after a repetitive word in a big file with millions of lines using for loop. After the finding the repetitive word how i make script to start searching after the present line in file so that when the loop iterates it doesn't start searching from beginning of the file.
Simply how to find the current line in a file and how to start search from that line when loop re-iterates, instead of start searching from the beginning.
And how many parallel crones can i run is there any limit or just we need run depending on our CPU and RAM utilization.