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

How do you list the files in an UNIX directory while also showing hidden files?

4 Answers  


In Unix inter process communication take place using?

3 Answers   TCS,


What is Fork swap?

1 Answers   Infosys, SSI Small Scale Industries,


What is default permissions for others in a file?

5 Answers  


How to remove weird filenames?

1 Answers  






How do you log in to a remote Unix box?

2 Answers  


The UNIX shell is.... a).does not come with the rest of the system b).forms the interface between the user and the kernal c) does not give any scope for programming d) deos not allow calling one program from with in another e) all of the above

2 Answers   IBM,


What are setuid/setgid in relation to file permissions?

2 Answers   Cap Gemini, IBM,


How to connect oracle database from unix

6 Answers   Cap Gemini, IBM, Wirecard,


What is file system in UNIX?

6 Answers   BMC,


very first process created by kernell?

4 Answers   TCS,


If your linux machine shows a ~(tilde) in most filenames on your dos or windows partition,what is the mistake you have made?How do you get back the long filenames?

2 Answers  


Categories