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
Which command is used to create a directory?
What is ‘ps’ command for?
How do I delete files from command prompt?
What does the command ' $who | sort –logfile > newfile' do?
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
How do I use nslookup?
What command will change your prompt to myprompt?
Explain mount and unmount command.
What is ctrl d?
What is nr in awk command?
what is the advaantage of each user having its own copy of the shell?
What is time_t?
What does pipe () return?
What is the size of time_t?
Give the command for finding the current date.