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 / chinmaya sahu

tail +7 <filename> | head -1

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is command prompt unix?

586


What is the search command in unix?

608


Name the general commands in using unix os for a beginner?

626


What is used to type command?

547


What are reported commands?

570






How do I use grep to search for a file?

584


Which command is used to find whether the system is 32 bit or 64 bit?

633


Explain command to display different lines that are found when compare two files?

678


What is the use of sed command in unix?

604


What is the first character of the output in ls l command?

637


What is the use of the command 'ls -x chapter[1-5]' ?

665


What do know about tee command?

607


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

622


What is the pipe command?

583


What does the metacharacter mean?

613