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 / krishna reddy
sed -n '7p' <filename>
or
head -8 <filename>|tail -1
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What will the following command do?
What is awk command used for?
What are reported commands?
Which command can you use to find the currently running process in unix server?
How do I run a whois command?
What are grep patterns?
How many unix commands are there?
What does the “echo” command do?
What is command substitution?
What is command statement?
What is the use of the command 'ls -x chapter[1-5]' ?
What do chmod command do?
What is {} in find command?
What does find command return in unix?
What does grep v do?