# Basic syntax: sed -n 'n;p' input_file # Print even numbered lines sed -n 'p;n' input_file # Print odd numbered lines