Friday, March 4, 2011

Unix cut and count

Unix cut and sort on a column and count number of instances.. very handy

cut -d "|" -f3 pbt_pending_trans.out | sort | uniq -c > uniq_tran_count.txt

1 comment:

Ravikumar said...

I have used the Unix cut and count commands which you have shared. I found it was very useful. Thanks for the useful information.