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 unix command line?
What is the use of the command 'ls -x chapter[1-5]' ?
What is the search command in unix?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
Differentiate cmp command from diff command.
How do I clear my terminal history?
What does sed command do in unix?
How do I run a bash script?
What is time_t?
What does grep v grep do?
Explain command to view process running?
How do I search a whole word in vim?
What do know about tee command?
What are some command words?
how to sort the content of the file based on numeric values