1

How do I fetch only the links from my file shown below:

Jun 15 16:26:21 dnsmasq[1979]: query[A] fd-geoycpi-uno.gycpi.b.yahoodns.net from 192.168.1.33 

Jun 15 16:26:30 dnsmasq[1979]: query[A] armdl.adobe.com from 192.168.1.24

Jun 15 16:26:32 dnsmasq[1979]: query[A] updates.installshield.com from 192.168.1.118

Note: the links may or may not start with "www." or end with ".com" (example: armdl.adobe.com, fd-geoycpi-uno.gycpi.b.yahoodns.net) but the "query[A]" before the link and "from" after the link remains same for every string. Thank you.

Manoj Jahgirdar
  • 172
  • 2
  • 12

0 Answers0