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 do know about tee command and its usage?
What is grep r?
What is the comma to show the space allocation of files?
What is a bash command?
What is the use of tee command?
What is grep in bash?
How do I search a whole word in vim?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What do know about tee command?
What is .sh file?
What command will change your prompt to myprompt?
Which unix command to make a new directory?
How do I delete files from command prompt?
How to use grep command to list find the records of a file containing 10 different strings?
Which command is used to create a directory?