For loop
Hi all,
I hope some one can help me.
I have a file with a list of user names ( 1 column )
I need to check a log file for these names and how many times they occur and send the output to a new file.
I was thinking of a for loop.
My hopless attempt so far is.
For co in $( cat “file name “ )
Do
Grep ${co} /location/location/location/”log”
Regards Hidalgo
|