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.