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

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

1059


What is grep short for?

1036


How do I find previous commands in unix?

1177


Write a command to kill the last background job?

1093


Explain ‘system calls’ with respect to unix commands?

1084


What is the comma to display different lines that are found when compare two files?

1143


What are reported commands?

1117


Who command in unix operating system?

1125


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

1115


What is the function of grep command in unix?

1166


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

2072


What is the significance of the 'tee' command?

1189


What will the following command do?

1109


What is merge command in unix?

1494


What is the general format of unix command syntax?

1903