Skip to content

Glossary: Command Line for IT: Bash and PowerShell

Get-Content

Also written: -TotalCount, -Tail, -Wait

The PowerShell cmdlet that reads a file line by line, each line a string. -TotalCount N works like head, -Tail N like tail, and -Wait keeps watching like tail -f.

Where the book teaches it

Related terms

headtail