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 / sivaprasad
hi, this is sivaprasad from school of IT.
If you want exactly 7 line u can use sed command as follows
$sed -n '7,7p' filename
ok.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Which command is used to copy files?
How do I use nslookup?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
How do I use grep to find a file?
What do chmod, chown, chgrp commands do?
What is the comma to display different lines that are found when compare two files?
Explain how to use grep command to list find the records of a file containing 10 different strings?
How does shebang work?
How do I open a port?
Name the general commands in using unix os for a beginner?
How to display no of records in oracle using unix command?
What is the comma to show the space allocation of files?
What is the difference between cat and more command?
How to use grep command to list find the records of a file containing 10 different strings?
What are grep patterns?