I have tab delimited files with several columns. I want to count the frequency of occurrence of the different values in a column for all the files in a folder and sort them in d
Here is a way to do it in the shell:
FIELD=2 cut -f $FIELD * | sort| uniq -c |sort -nr
This is the sort of thing bash is great at.