How to provide grep a file with ip addresses to look for in access.log
I have a file where each line has an IP address and I want to see if these Ip's are found in
File name: IpAddressess
Contents example :
192.168.0.1 192.168.0.2 192.168.1.5 etc etc
Now I want to scan access.log for these IP addresses contained in the file IpAddressess
Can I use the command
grep for this and what would the command structure look like?
Thank you kindly for any assistance!