74 lines
932 B
HTML
74 lines
932 B
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>head(1)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>head(1)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
head - print the first few lines of a file
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>head</STRONG> [<STRONG>-</STRONG><EM>n</EM>] [<EM>file</EM>] ...
|
|
|
|
|
|
</PRE>
|
|
<H2>OPTIONS</H2><PRE>
|
|
|
|
<STRONG>-</STRONG><EM>n</EM> How many lines to print
|
|
|
|
|
|
</PRE>
|
|
<H2>EXAMPLES</H2><PRE>
|
|
|
|
<STRONG>head</STRONG> <STRONG>-6</STRONG> # Print first 6 lines of <EM>stdin</EM>
|
|
|
|
<STRONG>head</STRONG> <STRONG>-1</STRONG> <STRONG>file1</STRONG> <STRONG>file2</STRONG> # Print first line of two files
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
|
|
The first few lines of one or more files are printed. The default count
|
|
is 10 lines. The default file is <EM>stdin</EM>.
|
|
|
|
|
|
</PRE>
|
|
<H2>SEE ALSO</H2><PRE>
|
|
<STRONG><A HREF="../man1/tail.1.html">tail(1)</A></STRONG>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|