linuxMaestro
Instructor
I have a file that contains hostnames:
cache-mtc-ad03.proxy.aol.com
0 6 0 0 0 0
-
c175104.adsl.hansenet.de
0 88 85 11940960 1 1101887409
/members/archive/14-a6fn87xpan/vi/
cache-rtc-ac07.proxy.aol.com
0 20 18 1252115 0 0
-
cache-dtc-ac02.proxy.aol.com
0 22 19 84487 3 1101942368
/firsttime/archive/08/bh/
cpe00c09f1c6947-cm00003906405e.cpe.net.cable.rogers.com
0 1 1 51 1 1101904291
How can I get the hostnames only?
Ex.
cache-mtc-ad03.proxy.aol.com
cache-dtc-ac02.proxy.aol.com
c175104.adsl.hansenet.de
cpe00c09f1c6947-cm00003906405e.cpe.net.cable.rogers.com
cache-mtc-ad03.proxy.aol.com
0 6 0 0 0 0
-
c175104.adsl.hansenet.de
0 88 85 11940960 1 1101887409
/members/archive/14-a6fn87xpan/vi/
cache-rtc-ac07.proxy.aol.com
0 20 18 1252115 0 0
-
cache-dtc-ac02.proxy.aol.com
0 22 19 84487 3 1101942368
/firsttime/archive/08/bh/
cpe00c09f1c6947-cm00003906405e.cpe.net.cable.rogers.com
0 1 1 51 1 1101904291
How can I get the hostnames only?
Ex.
cache-mtc-ad03.proxy.aol.com
cache-dtc-ac02.proxy.aol.com
c175104.adsl.hansenet.de
cpe00c09f1c6947-cm00003906405e.cpe.net.cable.rogers.com