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


$% ^$ &,,

I intend to write a manuscript that will certainly present the list below result : 2 1 : 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.

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