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 / hari
hai this Hari
try this
$sed -n '1,7p' <filename>
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is ‘ps’ command for?
What is a bash command?
Explain command to show the space allocation of files?
What are the dos commands?
What do know about tee command?
Write a command to kill the last background job?
What is the comma to display different lines that are found when compare two files?
What is unix command?
How many unix commands are there?
How does pipe () work?
What is pipe command in unix?
What is unix command line?
What is the functionality of a top command?
What are the unix commands?
What do chmod command do?