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
Why is it called grep?
What do chmod, chown, chgrp commands do?
What is the command to compare two files in unix?
Describe the usage and functionality of the command rm –r * in unix?
What is pipe command in unix?
Which unix command lists files/folders in alphabetical order?
What does awk stand for?
What does grep v grep do?
How do I use grep to search for a file?
What does this command do? Cat food 1 > kitty
What is awk used for?
What is the use of tee command?
What is grep in bash?
What is difference between grep and find command in unix?
What is the pipe command?