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

How do I use nslookup?

1057


What is rmdir command?

1052


What is ‘ps’ command for?

1146


What is the use of the tee command?

1068


What is the comma to display different lines that are found when compare two files?

1110


Explain command to show the space allocation of files?

1087


Which command will print your home directory on screen?

1045


What are reported commands?

1090


What does the “echo” command do?

1110


Is ‘du’ a command? If so, what is its use?

1106


What does the metacharacter mean?

1100


What is the use of cut command in unix?

1316


How do I clear my terminal history?

1106


Explain ‘library functions’ with respect to unix commands?

1129


Which command can you use to find the currently running process in unix server?

1083