Linux Server and Workstation Configuration How To

  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • red color
  • green color
head PDF Print E-mail
Wednesday, 16 December 2009 16:49
AddThis Social Bookmark Button

Command head

head command displays the first few lines of a file to standard output.

Syntax

head [options] file

Options

-n nline number of displayed rows.

Description

Displays the first line of the file file. The default number of rows is equal 10. Number of output lines can be specified with option -n.

 

Add comment


Security code
Refresh

Useful Links

Follow us on ...

  • Digg: hgevs
  • Facebook Page: 180986722511
  • Linked In Group: 2571120
  • Ning: linuxconfignet
  • Twitter: linuxconfignet

Friends

Thanks David Ayvazyan for provided useful information and discussions.
www.gnu.am (Armenian Translation)