In this topic we sorted data by frequency with sort /tmp/test.txt | uniq -ci | sort -nrk1. Change the command a bit to display the result in ascending order.
In this topic we sorted data by frequency with sort /tmp/test.txt | uniq -ci | sort -nrk1. Change the command a bit to display the result in ascending order.
Sample Input 1:
program
screen
c#
computer
program
c#
programSample Output 1:
1 computer
1 screen
2 c#
3 programCreate a free account to access the full topic