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 is merge command in unix?
what is the advaantage of each user having its own copy of the shell?
What is nr in awk command?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
What is “chmod” command?
How do you grep a case insensitive?
Differentiate cmp command from diff command.
Write a command that will display files in the current directory, in a colored, long format.
How do I search a whole word in vim?
How does the system know where one command ends and another begins?
What is in grep command?
What is the use of find command in unix?
How do I run a whois command?
What does pipe () return?
What is the difference between cat and more command?