Monday, July 24, 2017

How to cut a field from csv file using bash

How to cut a field from csv file using bash 

Example :
cat mycsv.csv | cut -d ',' -f3


cat mycsv.csv | cut -d "," -f3 | sort | uniq -c | sort -rn | head

 


No comments: