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