Print every alternate line from file with sed
sed 'n;d' /etc/passwd
n
command prints the current line, and immediately reads the next line into pattern space.
d
command deletes the line present in pattern space. In this way, alternate lines get printed.