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 / sameer

press esc+shift
then when the VI takes u to the edit mode use the following.

:1,$s/pattern to be changed/new value/g

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the size of time_t?

1178


Name the unix command to find how many days the server has been up.

1135


What is command substitution?

1298


What is “chmod” command?

1120


What is awk command used for?

1171


Which command is used to create a directory?

1121


Can you enlist some commonly used network commands?

1083


Is grep faster than awk?

1007


What is in grep command?

1138


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

1172


What is grep and how do you use it?

1076


What is the use of cut command in unix?

1320


What does grep v grep do?

1051


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

1046


Explain command to display different lines that are found when compare two files?

1132