answersLogoWhite

0


Best Answer

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
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

It shows the first 20 lines

This answer is:
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
Related questions

What is the use of execute command in unix?

There is no traditional 'execute' command in Unix.


Brief description of format command in unix?

There is no standard 'format' command in Unix.


What do CD command do in unix?

The 'CD' command is not standard for Unix. The 'cd' command, however, will change directories (folders). It is a means of navigating the Unix file system.


Which is the most commonly used command for referencing detailed information about a particular command in UNIX?

In Unix, use the 'man' command.


What is the Unix command to check to see who is logged in?

The "who" command.


What is the command to get the Unix version?

cat /proc/version The above answer will only work on certain systems. For most Unix systems, use the 'uname' command to get the Unix version. AIX uses the oslevel command.


Which command is the UNIX equivalent of the windows command nslookup?

dig


Which command is the UNIX is equivalent of the windows command nslookup?

nslookup


Which command is the UNIX equivalent of windows command nslookup?

Believe it or not, nslookup.


What command is used to create a folder in the command prompt?

In Windows and Unix-based and Unix-like systems, the command is mkdir (however in Windows a shortcut md can be used as well).


What is the command echo in unix mean?

it is a command in unix and unix like operating systems that places a string on the computer terminal.It is typically used in shell scripts and bath files screen or a file.


What is a command in Unix?

Essentially, a command in Unix is a program that you execute for a certain purpose. It could be anything, from a shell script, to copying or deleting files, etc.