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

One should be in command mode for doing this.(i.e press esc)
:%s/oldpattern/newpattern and press enter

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I run a whois command?

1156


why metadb requires a seperate slice to create Solaris volume manager

3172


What difference between cmp and diff commands?

1307


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

1232


What is the difference between grep and grep?

1137


What are some command words?

1141


Why is shebang used?

1132


Why is it called a shebang?

1193


How do I search for a file in unix command?

1023


Give the command for finding the current date.

1118


What is unix command?

1267


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

1223


How do I use nslookup?

1099


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

1175


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

1072