sed command to print lines with pattern code example Example: sed print a specific line sed -n 5p <file>