Sysadmin > UtilitIes > SeD > SedPrint10thLine

print every second, third ... 10th line

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

Example

seq 100 | sed -n -e '0~5p'