How would you change all occurrences of a value using VI?
Answer Posted / chitra
One should be in command mode for doing this.(i.e press esc)
:%s/oldpattern/newpattern and press enter
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
How do I run a whois command?
why metadb requires a seperate slice to create Solaris volume manager
What difference between cmp and diff commands?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What is the difference between grep and grep?
What are some command words?
Why is shebang used?
Why is it called a shebang?
How do I search for a file in unix command?
Give the command for finding the current date.
What is unix command?
What is the command to find maximum memory taking process on the server?
How do I use nslookup?
Enumerate some of the most commonly used network commands in unix?
Explain how to use grep command to list find the records of a file containing 10 different strings?