Live Chat Software
Click for live chat
WebTop

Linux command Head by live chat help support software expert mioot.com

Linux command Head - Help with Linux syntax & live chat help support software solution provider for business websites by mioot.com

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

head

head [options] [files]

Print the first few lines (default is 10) of one or more files. If files is missing or -, read from standard input. With more than one file, print a header for each file.
Options
-c num[b|k|m] , --bytes num [b|k|m]

Print first num bytes or, if num is followed by b, k, or m, first num 512-byte blocks, 1-kilobyte blocks, or 1-megabyte blocks.

--help

Display help and then exit.

-n num, --lines num, -num

Print first num lines. Default is 10.

-q, --quiet, --silent

Quiet mode; never print headers giving filenames.

-v, --verbose

Print filename headers, even for only one file.

--version

Output version information and then exit.

Examples

Display the first 20 lines of phone_list:

head -20 phone_list

Display the first 10 phone numbers having a 202 area code:

grep \'(202)\' phone_list | head

 

How would you rate the usefulness of this content?
1 2 3 4 5
Poor Outstanding
Spam Verification
Spam Verification Code

Content rating:




people have rated this content.

 
If you are having trouble in using Head linux command , please live chat with our Linux expert and web hosting live support professional 24X7 for online live help 24x7.


Related Linux commands
  htdigest
hwclock
hexdump
host
halt
hdparm
head
hostid
hostname