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
What is the functionality of a top command?
What is .sh file?
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 does #!/ Bin sh do?
What is nr in awk command?
What do chown command do?
What does the md command do?
What command will change your prompt to myprompt?
What command is used to check the current users?
What do chmod, chown, chgrp commands do?
why metadb requires a seperate slice to create Solaris volume manager
What does find command return in unix?
How do I use grep to search for a file?
What is the comma to show the space allocation of files?
Which command can you use to find the currently running process in unix server?