tldr/pages/common/head.md

188 B

head

Output the first part of files. More information: https://www.gnu.org/software/coreutils/head.

  • Output the first few lines of a file:

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