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

Explain how to use grep command to list find the records of a file containing 10 different strings?

1124


What is nr in awk command?

1273


What are some command words?

1199


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

1262


Describe the usage and functionality of the command rm –r * in unix?

2177


What is in grep command?

1211


What is updatedb?

1091


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

1448


Write a command to display a file’s contents in various formats?

1246


What does grep v grep do?

1123


What is unix command?

1318


What is the use of find command in unix?

1209


How to find $ai_serual resolved path by using unix

1837


Which command is used to create a directory?

1223


How do I delete files from command prompt?

1278