snippetbashTip
head — Output the first part of files. More information: <https://manned.org/head.1p>.
Viewed 0 times
thecommandfilesfirstcliheadpartoutput
Problem
How to use the
head command: Output the first part of files. More information: <https://manned.org/head.1p>.Solution
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}}Code Snippets
Output the first few lines of a file
head -n {{count}} {{path/to/file}}Context
tldr-pages: common/head
Revisions (0)
No revisions yet.