cut -f1 test.csv | wc -l
I want to get the first column of the file, and do a unique count.
Where can I add a 'sort u' to make it count unique lines only?
cut -f1 test.csv | wc -l
I want to get the first column of the file, and do a unique count.
Where can I add a 'sort u' to make it count unique lines only?