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 / mo
Using VI editor this can be done like this.
type this command.
:1,7w <newfilename>
All Good
Mo
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What do chgrp command do?
how to sort the content of the file based on numeric values
What is ctrl d?
What is the use of sed command in unix?
How do I search for text in vi?
What is grep and how do you use it?
Name the various commands that are used for the user information in unix.
What is the size of time_t?
What's a command word?
Explain ‘system calls’ with respect to unix commands?
What is the pipe command?
How many unix commands are there?
What is difference between grep and find command in unix?
What is the difference between grep and grep?
What is “chmod” command?