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 are reported commands?

1071


How do you grep a case insensitive?

999


Does cp command overwrite files?

1134


What is the significance of the 'tee' command?

1136


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1336


What do chmod command do?

1137


What is {} in find command?

1050


What command is used to check the current users?

1063


What are the differences among a system call, a library function, and a unix command?

1148


What is awk used for?

1077


What is awk command used for?

1126


What is the general format of unix command syntax?

1790


What is nr in awk command?

1133


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

1103


What is a bash command?

1112