Hi,
A lot of unix/linux tools are line driven (by default, you can change this behaviour), they parse one line at the time and the tools can do something with/to that line. AWK is also line driven.
Something line this:
awk '/10.0.0.1/ { print $0 }' infile will print all lines (print $0) if 10.0.0.1 is found (/10.0.0.1/) anywhere on a line, all other lines are not printed.
If you want to put the output into another file you can redirect the output:
awk '/10.0.0.1/ { print $0}' infile > outfile. The
> outfile part makes sure that the output is put in a file called output.
Here's a good link to the (gnu) awk documentation:
The GNU Awk User's Guide
Hope this helps.