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
Explain command to view process running?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
How do I delete files from command prompt?
What is awk command used for?
What do chgrp command do?
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 difference between cat and more command?
Explain how to use grep command to list find the records of a file containing 10 different strings?
Can you enlist some commonly used network commands?
What are grep patterns?
What is the unix command to confirm a remote host is alive or not?
What do chmod, chown, chgrp commands do?
Which command is used to kill the last background job?