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 command is used to switching between users in unix?

1071


What is awk good for?

1125


What is the size of time_t?

1198


What does the “echo” command do?

1138


What is grep short for?

1034


What is awk command used for?

1210


How do I use nslookup?

1084


what is the advaantage of each user having its own copy of the shell?

2542


What is the search command in unix?

1078


What does pipe () return?

1060


Which command will print your home directory on screen?

1071


How do you grep recursively?

1092


What are the dos commands?

1241


What will the following command do?

1107


What is the use of the command 'ls -x chapter[1-5]' ?

1195