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 / chitra

One should be in command mode for doing this.(i.e press esc)
:%s/oldpattern/newpattern and press enter

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is merge command in unix?

1558


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

1216


Explain command to display different lines that are found when compare two files?

1221


What is the use of the tee command?

1153


What are grep patterns?

1149


What will the following command do?

1174


What is the command to find maximum memory taking process on the server?

1266


Which command is used to restrict incoming messages?

1147


How can we use grep command in unix?

1264


What is the use of find command in unix?

1212


Explain mount and unmount command.

1280


How do I run a whois command?

1203


What does 'mkdir' command do in UNIX?

1374


Enlist some filename manipulation commands in unix.

1221


What is the function of grep command in unix?

1232