tldr/pages/common/head.md

9 lines
188 B
Markdown
Raw Normal View History

2014-07-16 15:50:37 +01:00
# head
> Output the first part of files.
> More information: <https://www.gnu.org/software/coreutils/head>.
2014-07-16 15:50:37 +01:00
- Output the first few lines of a file:
2014-07-16 15:50:37 +01:00
2023-02-03 04:24:27 +00:00
`head -n {{count}} {{path/to/file}}`