<tt>head</tt>: Header



next up previous contents
Next: tail: Tail End Up: File system Commands: Previous: more: Browser

head: Header

head [-n] filename...
where the default for n is 10.

head copies the first n lines of each file to the standard output. If filename... is more than one file,

===>filename<===
is displayed before each file:
prompt> head file1 file2
==> file1 <==
this is file1
==> file2 <==
this is file2



Super-User
Fri Feb 17 15:55:40 EST 1995