Tag Archives: grep

Unix / Linux: Include Header in Grep Result

unix linux

Objective: Always include the header line when using grep. In other words, do not perform pattern matching on the header, but only perform pattern matching on the body (from line 2 onwards).