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 the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

1223


Which command will print your home directory on screen?

1086


What is grep and how do you use it?

1118


What are some command words?

1141


Why is shebang used?

1132


What is the difference between awk and grep?

1258


Explain the steps that a shell follows while processing a command.

1237


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

1182


What command will change your prompt to myprompt?

1333


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

1175


Name the various commands that are used for the user information in unix.

1092


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

2105


What is $0 bash?

1207


How do I run a whois command?

1156


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

2561