Chain Output of Linux Commands

I needed to split a csv file on a remote server into several sections every so row.

I can use head -10 file.csv > file10.csv to output the first 10 rows into a separate file, but what about rows 10 to 20, while keeping the header?

Turns out the command is:

{ head -1 file.csv; sed -n 10,20p file.csv } > file20.csv

You can chain the output of several command by embracing them with curly braces.