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 / thomas k

please try this. it will work.
head -7 <filename> | tail -1

Is This Answer Correct ?    42 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ‘ps’ command for?

614


What is difference between grep and find command in unix?

577


hw will u use awk in replacing cahrs and files

2726


What command will change your prompt to myprompt?

700


What is the comma to show the space allocation of files?

558






What is used to type command?

539


What does the metacharacter mean?

608


How do I open a port?

589


What is updatedb?

586


Which command is used to create a directory?

571


What is a bash command?

624


What is the command to find hidden files in the current directory?

579


what is the advaantage of each user having its own copy of the shell?

2034


What is grep in bash?

586


Explain mount and unmount command.

613