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
What is merge command in unix?
Enumerate some of the most commonly used network commands in unix?
Explain command to display different lines that are found when compare two files?
What is the use of the tee command?
What are grep patterns?
What will the following command do?
What is the command to find maximum memory taking process on the server?
Which command is used to restrict incoming messages?
How can we use grep command in unix?
What is the use of find command in unix?
Explain mount and unmount command.
How do I run a whois command?
What does 'mkdir' command do in UNIX?
Enlist some filename manipulation commands in unix.
What is the function of grep command in unix?