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
How to find $ai_serual resolved path by using unix
What do know about tee command?
Why is it called a shebang?
What is the comma to display different lines that are found when compare two files?
Who invented grep?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What does awk stand for?
What is awk used for?
How do you grep a case insensitive?
What is awk good for?
Which unix command to make a new directory?
What is merge command in unix?
What happens when we execute a unix command?
What is updatedb?
What are bash commands?