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 does init do? What does inetd do?

1 Answers  


What are the mount and unmount system calls?

1 Answers   HCL,


How do you execute a UNIX command in the background?

2 Answers  


What is the job responsibility of a System Administrator (UNIX/LINUX),briefly describe (Also point out system admin's daily job details),specify job type & job description?

2 Answers   HP, ICS Integrated Computer Solutions, TCS,


How to remove weird filenames?

1 Answers  






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

6 Answers  


i am prepairing for 2+ yrs exp in oracle/unix production support,can u tell me which type issue comes in server plz help

0 Answers   Crimson Logic,


Name key files or directories on a Windows system that should always be backed up?

2 Answers  


Explain iostat, vmstat and netstat.

2 Answers  


why do you need to have a swap file system?

1 Answers  


What is ant_build.sh? Have u seen that file?

0 Answers   BMC,


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

4 Answers  


Categories