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
What command is used to switching between users in unix?
What is awk good for?
What is the size of time_t?
What does the “echo” command do?
What is grep short for?
What is awk command used for?
How do I use nslookup?
what is the advaantage of each user having its own copy of the shell?
What is the search command in unix?
What does pipe () return?
Which command will print your home directory on screen?
How do you grep recursively?
What are the dos commands?
What will the following command do?
What is the use of the command 'ls -x chapter[1-5]' ?