if we create a file, in that 10 rows(means 1,2,....9,10
like). i want 7 row exactly, which command use in unix?
plz send this question.

Answer Posted / prasad

hi isha,

this is prasad, head command displays first n lines from
the file

head -7 <filename> it displays first 7 lines, i want exact
7 line.


thanku for send this question isha.

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between cat command and more command?

599


What is the nmap command?

581


Name the unix command to find how many days the server has been up.

600


What is pipe command in unix?

669


What is the behavioural difference between cmp and diff commands?

672






What is unix command line?

606


What does pipe () return?

592


What is awk used for?

616


What will the following command do?

615


What is ctrl d?

594


Who invented grep?

649


What is awk good for?

582


why metadb requires a seperate slice to create Solaris volume manager

2552


What is difference between grep and find command in unix?

577


What is updatedb?

584