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.
Glossary: Command Line for IT: Bash and PowerShell
Also written: head -n
Prints the first lines of a file or pipe. head -n 2 auth.log shows the two oldest lines.