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
Which command is used to restrict incoming messages?
What command is used to switching between users in unix?
What is awk used for?
Why is awk called awk?
how to sort the content of the file based on numeric values
Give the command for finding the current date.
Explain how to use grep command to list find the records of a file containing 10 different strings?
How do I find previous commands in unix?
How do I search a whole word in vim?
why metadb requires a seperate slice to create Solaris volume manager
Explain command to display different lines that are found when compare two files?
What is the command to find maximum memory taking process on the server?
What is the nmap command?
What are some command words?
Can you explain a little bit about command substitution?