match contents of file with log file

Hello folks,

I have 10 lines of file i want to check that any line from 1-to-10 is available in access.log or not, if yes print that complete line.

Hi,

Try this one,

fgrep -f access.log inputfile

Cheers,
Ranga:-)

There's insufficient information to be certain that's correct. -x may be required.

Regards,
Alister