tail -n +2 data.csv | head -2

Category: Data Science & Analysis

tail -n +2 data.csv | head -2

Skip the header, then show the next 2 rows

The -n +2 argument makes tail start at line 2, dropping the CSV header, and head -2 keeps the first two data rows. This pattern peeks at sample rows without including the header. Combine with wc -l to count data rows precisely. For CSV-aware alternatives use mlr head or xsv slice.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.