I used following command on a file with 10 columns:
cut -f3 f1.tsv | sort | uniq -c | sort -k1,1 -nr > f2.tsv
which gave me a file like:
1230 ABC
1059 DEF
846 GHI
845 JKL
but now for some other work, i need just the second column.
So please tell me how can i use some simple, awk or cut command to get it.