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 / ashwini
sed -n 1,7p <filename>
| Is This Answer Correct ? | 2 Yes | 8 No |
Post New Answer View All Answers
Why is awk called awk?
How does the system know where one command ends and another begins?
What are bash commands?
What does grep v grep do?
Which command is used to create a directory?
How do I clear my terminal history?
What does #!/ Bin sh do?
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)?
Explain command to view process running?
What is unix command line?
What does the metacharacter mean?
Explain the steps that a shell follows while processing a command.
What is the use of the tee command?
Which unix command to make a new directory?
How do I use nslookup?