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 do chgrp command do?

1224


What is grep short for?

1051


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

2561


What is command statement?

1184


What is the pipe command?

1197


What is the comma to show the space allocation of files?

1095


How do you grep a case insensitive?

1053


What will the following command do?

1127


What does this command do,"$more readme.txt“?

1162


What is the functionality of a top command?

1114


What is grep in bash?

1069


What is grep r?

1107


Who invented grep?

1165


What is the difference between grep and grep?

1137


What is $0 bash?

1209