Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 249 Bytes

peek-csv-headers.md

File metadata and controls

9 lines (6 loc) · 249 Bytes

Peek at headers in CSV file

To see the first row of a CSV (or any file), use the head command with the n flag.

head -n 1 my-csv.csv

I found this useful to quickly reference CSV header order when mapping fields in an import process.