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 the use of sed command in unix?
What is the comma to show the space allocation of files?
What are the general commands in using unix os for a beginner?
What is the unix command to confirm a remote host is alive or not?
What does pipe () return?
Which command will print your home directory on screen?
How do I search for a file in unix command?
What is the first character of the output in ls l command?
What does the metacharacter mean?
Is command prompt unix?
Name the unix command to find how many days the server has been up.
What is unix command?
Which command is used to restrict incoming messages?
How do I use grep to search for a file?
Write a command to display a file’s contents in various formats?