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
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is grep short for?
How do I find previous commands in unix?
Write a command to kill the last background job?
Explain ‘system calls’ with respect to unix commands?
What is the comma to display different lines that are found when compare two files?
What are reported commands?
Who command in unix operating system?
How to use grep command to list find the records of a file containing 10 different strings?
What is the function of grep command in unix?
Describe the usage and functionality of the command rm –r * in unix?
What is the significance of the 'tee' command?
What will the following command do?
What is merge command in unix?
What is the general format of unix command syntax?