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
hw will u use awk in replacing cahrs and files
Write a command that will display files in the current directory, in a colored, long format.
How do I use nslookup?
Which command is used to delete all files in the current directory and all its sub-directories?
What are the differences among a system call, a library function, and a unix command?
What happens when we execute a unix command?
What do chgrp command do?
What does this command do,"$more readme.txt“?
What is the use of cut command in unix?
What is the command to compare two files in unix?
What is “chmod” command?
What are the unix commands?
Write a command to kill the last background job?
What is the use of find command in unix?
Which command can you use to find the currently running process in unix server?