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

What are some command words?

1126


Can you explain a little bit about command substitution?

1107


How many unix commands are there?

1140


What does sed command do in unix?

1180


What command is used to switching between users in unix?

1073


What is the nmap command?

1170


What are the differences among a system call, a library function, and a unix command?

1203


What does the “echo” command do?

1143


How do I use grep to find a file?

1101


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

1221


How can we use grep command in unix?

1190


Explain command to view process running?

1116


What does grep v do?

1039


Enlist some filename manipulation commands in unix.

1152


What is unix command?

1242