Red Hat Training

A Red Hat training course is available for Red Hat Fuse

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

ArgumentInterpretation
--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)