How would you change all occurrences of a value using VI?
Answer Posted / sameer
press esc+shift
then when the VI takes u to the edit mode use the following.
:1,$s/pattern to be changed/new value/g
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is the size of time_t?
Name the unix command to find how many days the server has been up.
What is command substitution?
What is “chmod” command?
What is awk command used for?
Which command is used to create a directory?
Can you enlist some commonly used network commands?
Is grep faster than awk?
What is in grep command?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What is grep and how do you use it?
What is the use of cut command in unix?
What does grep v grep do?
What is the comma to show the space allocation of files?
Explain command to display different lines that are found when compare two files?