How to output a string by using wildcards?
I'm trying to make a shell script, and for part of it I need to search through a file, find the ip in the file, and save ONLY the ip to another file. ( not the entire line that its on )
I understand grep has wildcards, where I could do something like,
"grep (...........) traceroute-output
for an ip address.
Any ideas? Thanks.