How would you change all occurrences of a value using VI?
Answer Posted / sridhar
press esc+shift
then when the VI takes u to the edit mode use the following.
:%s/pattern/new value/g
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What is grep command in unix with examples?
What is a command and examples?
Explain command to view process running?
How do I run a whois command?
What is the command to compare two files in unix?
Explain ‘system calls’ with respect to unix commands?
What is time_t?
Enumerate some of the most commonly used network commands in unix?
What does the md command do?
What is the use of the tee command?
What are the general commands in using unix os for a beginner?
What are grep patterns?
How do I run a bash script?
why metadb requires a seperate slice to create Solaris volume manager
What does #!/ Bin sh do?