How would you change all occurrences of a value using VI?



How would you change all occurrences of a value using VI?..

Answer / wizard_cmp@yahoo.co.in

$s/str1/str2/g

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Unix AllOther Interview Questions

What are permissions in UNIX?

5 Answers   BMC, University,


Give the command to display space usage on the UNIX file system.

6 Answers  


How do I log into a remote Unix machine(as a root/normal user)?Please specify with command user and argument.

3 Answers  


why do you need to have a swap file system?

1 Answers  


What is the difference between internal and external commands?

13 Answers   BPL, DOEACC, Engro, Kuvempu University, NIIT, TCS,






very first process created by kernell?

4 Answers   TCS,


What does init do? What does inetd do?

1 Answers  


What UNIX command will control the default file permissions when files are created?

3 Answers  


What is file system in UNIX?

6 Answers   BMC,


How are devices represented in UNIX?

2 Answers  


What is mutex?

2 Answers   BMC,


What is Expansion swap?

1 Answers   KISSI,


Categories