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
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What do know about tee command?
Explain command to display different lines that are found when compare two files?
What happens when we execute a unix command?
What is the significance of the 'tee' command?
What is the difference between grep and grep?
Name the general commands in using unix os for a beginner?
how to sort the content of the file based on numeric values
How do I use grep to find a file?
What does the metacharacter mean?
Can you enlist some commonly used network commands?
What command is used to check the current users?
How do I search for text in vi?
What are grep patterns?
What is awk command used for?