sed -n -e '0~10p' file # print every 10th line sed -n -e '1~2p' file # print every other line starting with line 1
seq 100 | sed -n -e '0~5p'