extract domain names from .txt file

hi
need a command to extract the domain names from the following .txt file.

sss.com 59 01/09/2008 13:45
edd.com 59 01/09/2008 13:45


i want to extact the domains sss.com and edd.com in another txt file.

 

 

 

 

Top