Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / sridhar

press esc+shift
then when the VI takes u to the edit mode use the following.

:%s/pattern/new value/g

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is grep command in unix with examples?

1162


What is a command and examples?

1178


Explain command to view process running?

1095


How do I run a whois command?

1121


What is the command to compare two files in unix?

1078


Explain ‘system calls’ with respect to unix commands?

1063


What is time_t?

1077


Enumerate some of the most commonly used network commands in unix?

1134


What does the md command do?

1094


What is the use of the tee command?

1073


What are the general commands in using unix os for a beginner?

1131


What are grep patterns?

1044


How do I run a bash script?

1143


why metadb requires a seperate slice to create Solaris volume manager

3111


What does #!/ Bin sh do?

1041