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...


Which command is used to replace many characters?

Answers were Sorted based on User's Feedback



Which command is used to replace many characters?..

Answer / amita

change command can be used to change a word/line.

cw change word forward
cb change word backward
c$ change from cursor to end of line
cL change from current line to and of screen
cG change from current line to and of file

or if you want to replace all occurence of some specific
character

:%s/oldText/newText/g

Is This Answer Correct ?    6 Yes 1 No

Which command is used to replace many characters?..

Answer / gourab ranjan seth

press esc, then R to replace multiple characters

Is This Answer Correct ?    2 Yes 0 No

Which command is used to replace many characters?..

Answer / ali ahsan

Try

:%s/<Character1>/blah/cge | %s/<character2>/222/cge
and so on.

OR if you have to replace many charcters with single charcter you can try as mentioned below

:%s/<Character1|character2|.....>/blah/cge

Is This Answer Correct ?    0 Yes 0 No

Which command is used to replace many characters?..

Answer / gopal

By pressing "Esc"+i key.

Is This Answer Correct ?    3 Yes 11 No

Post New Answer

More Vi Editor Interview Questions

What is the format of vi command?

2 Answers  


what is the command used to append text after current line?

3 Answers  


HOW WE CAN MAKE THE DLIEVERY WHICH IS BLOCKED DUE TO CREDIT LIMIT.

0 Answers   Seamless,


How to enter from command mode to insertion mode?

3 Answers  


How to append a file to current file?

3 Answers  


What is the difference between lettered buffer and temporary buffer?

2 Answers  


what is the command used to set margin in vi editor?

2 Answers  


How to create a .exrc file in vi editor?

1 Answers  


How to return to shell without leaving vi editor?

2 Answers  


what does the c$ command do from command mode?

5 Answers  


what are the two different modes in vi editor?

7 Answers  


what is the command used to append to buffer?

0 Answers   IBM,


Categories
  • Vi Editor Interview Questions Vi Editor (21)
  • Visual Studio IDE Interview Questions Visual Studio IDE (207)
  • Editors AllOther Interview Questions Editors AllOther (1)