Show Table of Contents
2.7. shell:head, head
Abstract
displays the first lines of a file
Synopsis
shell:head [
--help
] [
-n numLines
] {[
path
] | [
URL
]}
Arguments
Table 2.7, “shell:head Arguments” describes the command's arguments.
Table 2.7. shell:head Arguments
| Argument | Interpretation |
|---|---|
--help | Displays the online help for this command. |
-n | Specifies the number of lines to display. Default is 1. |
path | The path(s) of the file to display, separated by whitespace (separated by - for STDIN) |
URL | Specifies the URL(s) to display, separated by whitespace (separated by - for STDIN) |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.