background
|
|
Random

Computer
|
|
Up Image
Navigation
Search this Site
Enter your search terms

Site Breadcrumb - You are here
|
Reference   Unix Guide

head

Structure: head [-n] [files]

head prints the first couple of lines of one or multiple files. -n is used to display the first n lines of a file(s). The default number of lines is 10. For example, the following will display the first 15 lines of monkey_list.html.

head -15 monkey_list.html

Back to the index.