How I can count occurence results of list in linux?
a b b c c d Result: a = 1 , b = 2 , c=2 , d=1
I solved this by piping to this command
sort | uniq -c
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!