Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by cheme

  1. cheme

    pipe to whois

    thanks vgersh99.... piping output to shell...how clever! now, i'm trying to remove certain IPs so I'm using this: awk '$5 !~ /192.168.1.1/ {print "whois " $5}' pfirewall.log | sh This works fine. Next, I want to start on row 6. This is where I have a problem: awk 'NR==6,NR==100000 $5 !~...
  2. cheme

    pipe to whois

    works great. thanks a million!!! man, getline seems to be a complex thing...glad you were willing to help. :)
  3. cheme

    pipe to whois

    Hi, I'm trying to pipe info from awk to whois. Basically, I want a list of organizations that are accessing my server. When I do this: $ awk '{print $5}' temp.log 199.71.0.43 $ awk '{print $5 | "wc"}' temp.log 1 1 12 $ awk '{print $5 | "whois"}' temp.log I just get the...

Part and Inventory Search

Back
Top