Skip to content

Glossary: Command Line for IT: Bash and PowerShell

head

Also written: head -n

Prints the first lines of a file or pipe. head -n 2 auth.log shows the two oldest lines.

Where the book teaches it

Related terms

tailGet-Content