RSS Subscription
Linux Howtos & Tutorials

Enter your email:

Delivered by


NOTE:New tutorials are from LinuxCareer.com

Poll

Do you own or wish to have iPhone?
 


Linux eBooks FREE Download
A guide to programming Linux kernel modules
Introduction to Linux - A Hands on Guide
A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

Linux: The Hacking Solution (v.3.0)

SQLite 3 with PHP Essential Training – Free Video Training Tutorials

This guide will introduce you to the world of GNU/Linux

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)

Advanced Bash-Scripting Guide

Set up, maintain, and secure a small office email server

Partner Linux Sites:
How-To.LinuxCareer.com
Jobs.LinuxCareer.com
TuxMachines
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
All For Linux

head-(1) manual page

Article Index

Table of Contents

 

Name

head - output the first part of files

Synopsis

head [OPTION]... [FILE]...

Description

Print the first 10 lines of each FILE to standard output. With more than one FILE, precede each with a header giving the file name. With no FILE, or when FILE is -, read standard input.

Mandatory arguments to long options are mandatory for short options too.

-c, --bytes=[-]N
print the first N bytes of each file; with the leading ‘-’, print all but the last N bytes of each file
-n, --lines=[-]N
print the first N lines instead ofthe first 10; with the leading ‘-’, print all but the last N lines of each file
-q, --quiet, --silent
never print headers giving file names
-v, --verbose
always print headers giving file names
--help
display thishelp and exit
--version
output version information and exit

N may have a multiplier suffix: b 512, kB 1000, K 1024, MB 1000*1000, M 1024*1024, GB 1000*1000*1000, G 1024*1024*1024, and so on for T, P, E, Z, Y.

Author

Written by David MacKenzie and Jim Meyering.

Reporting Bugs

Report bugs to <bug-coreutils@gnu.org>.

Copyright

Copyright © 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html >
This isfree software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

See Also

The full documentation for head is maintained as a Texinfo manual. If the info and head programs are properly installed at your site, the command
info head

should give you access to the complete manual.

 


Table of Contents

 

Share this linux post:

Submit head-(1) manual page in Delicious Submit head-(1) manual page in Digg Submit head-(1) manual page in FaceBook Submit head-(1) manual page in Google Bookmarks Submit head-(1) manual page in Stumbleupon Submit head-(1) manual page in Technorati Submit head-(1) manual page in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.


Linux eBooks FREE Download