$ cat com.txt | sed 's/^\(\S*\.com\)\.\s.*/\1/' | sort | uniq
cat com.txt | cut -d' ' -f1 | sort | uniq