Cobra Forum

Linux => New to Ubuntu => Topic started by: mahesh on Aug 26, 2023, 07:49 AM

Title: Command Question: sorting names and count
Post by: mahesh on Aug 26, 2023, 07:49 AM
I am so very new to this program and I hope someone can help me with this.
So I have a file with data log and bunch of names. I just want to sort the name out & summarize how many times each name has.
So the results should be:
Sssssss = 3
Ddddddd = 4
Ttyttyttttt = 5
Something like this.
What's a perfect command for this?
Thank you in advance.