Tag Archives: unix

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).

Linux: Alias with Variables / Arguments

unix linux

Objective: The alias command can be used to launch any command or a group of commands (inclusive of any options, arguments and redirection) by entering a pre-set string. But how to pass an argument to alias or let an alias handle a variable?