How to find frequency of occurrences of strings contained in a file?

I have a documents which contains a checklist of URLs of the kind

EDIT

$% ^$ &,

www.google.com,

google.com

yahoo.com/list/page/jhfjkshdjf

I intend to write a manuscript that will certainly present the list below result

 google.com : 2
http://www.google.com: 1
yahoo.com : 1 

I am stuck to the component that I need to read the URLs from the documents and also examine the entire documents once more. I am new to bash scripting and also therefore I do not recognize just how to do this.

5
2022-07-25 20:39:58
Source Share
Answers: 0