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 / amol tyagi

head -7 filename

Is This Answer Correct ?    1 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between grep and grep?

570


What is the use of awk command in unix?

583


How to display no of records in oracle using unix command?

591


Is command prompt unix?

586


What are the commands in UNIX to list the files in a Directory?

622






What do chmod, chown, chgrp commands do?

641


What is the use of sed command in unix?

604


What do chown command do?

536


What does grep v grep do?

556


What is the command to find maximum memory taking process on the server?

674


How do I run a bash script?

588


What are bash commands?

601


Which command is used to create a directory?

577


What do chgrp command do?

594


What is nr in awk command?

611