I have a file with multiple IP addresses for different websites, however I only want to print out the websites associated with a specific IP and display the website. For example,
All I need is the websites associated with 188.8.131.52 and I've gotten results using awk to print the entire web address and the IP but I would like to remove the IP How can I combine awk and sed to accomplish this?
/? Also clarify if what you want is to print the second comma-separated field on lines whose first comma-separated field is a specific IP. Finally, it would help if you show us what you've tried.