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
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is nr in awk command?
What are some command words?
What is the command to find maximum memory taking process on the server?
Describe the usage and functionality of the command rm –r * in unix?
What is in grep command?
What is updatedb?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
Write a command to display a file’s contents in various formats?
What does grep v grep do?
What is unix command?
What is the use of find command in unix?
How to find $ai_serual resolved path by using unix
Which command is used to create a directory?
How do I delete files from command prompt?