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 is the command to compare two files in unix?

1134


what is the advaantage of each user having its own copy of the shell?

2564


Which command can you use to find the currently running process in unix server?

1139


What does grep v do?

1066


How to display no of records in oracle using unix command?

1182


What is time_t?

1129


What does #!/ Bin sh do?

1081


What is grep r?

1115


Who command in unix operating system?

1147


What will the following command do?

1134


How do you repeat a command in terminal?

1248


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

1221


Is command prompt unix?

1168


Explain command to show the space allocation of files?

1136


How many unix commands are there?

1165