bash - How to sort and count occurrence of lines in linux -


this question has answer here:

how can count occurence results of list in linux?

a b b c c d  result: = 1 , b = 2 , c=2 , d=1 

i solve using command sort | uniq -c


Comments

Popular posts from this blog

xslt - Substring before throwing error -

Google Cloud Bigtable Durability/Availability Guarantees -

Android M doze mode and "native" posix socket freezing up -