answersLogoWhite

0

The 'head' command will list out certain number of lines in a file from the beginning. The standard is to list the first 25 lines, but you can change that:

head -100 myfile

will list out the first 100 lines of myfile.

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

RossRoss
Every question is just a happy little opportunity.
Chat with Ross
JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan
JudyJudy
Simplicity is my specialty.
Chat with Judy
More answers

It shows the first 20 lines

User Avatar

Wiki User

12y ago
User Avatar

Add your answer:

Earn +20 pts
Q: What is head command in UNIX?
Write your answer...
Submit
Still have questions?
magnify glass
imp