How would you change all occurrences of a value using VI?
Answer Posted / sameer
press esc+shift
then when the VI takes u to the edit mode use the following.
:1,$s/pattern to be changed/new value/g
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is merge command in unix?
Name the general commands in using unix os for a beginner?
Which command should you use to find the remaining disk space in unix server?
How do I find previous commands in unix?
How do you repeat a command in terminal?
What is the use of the tee command?
How do I search for a file in unix command?
How do I open a port?
Which command will print your home directory on screen?
What is grep short for?
What is the command to view process running?
What do chgrp command do?
what is the advaantage of each user having its own copy of the shell?
What happens when we execute a unix 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