tldr/pages/common/head.md

171 B

head

Output the first part of files. More information: https://manned.org/head.1p.

  • Output the first few lines of a file:

head -n {{count}} {{path/to/file}}