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 / manikandant

sed -n '5p' filename

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are reported commands?

570


How to find $ai_serual resolved path by using unix

1031


How do I clear my terminal history?

588


What is awk good for?

590


What is ‘ps’ command for?

620






What is the use of cut command in unix?

696


What does pipe () return?

600


How do I use nslookup?

577


What is .sh file?

624


Which command should you use to find the remaining disk space in unix server?

714


What is the pipe command?

585


What does the metacharacter mean?

614


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

650


What is ctrl d?

598


What is pipe command in unix?

677