select first row using awk code example Example: select first row using awk awk -F, 'NR==1{print}' your_csv_file.csv