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 to replace the exact word in vi editor??
suppose a file contains words like amaze,amazed,amazement in
some of the line.But i want to replace only 'amaze' with
delight but don't wanna replace amazed or amazement.
thanks

Answer Posted / majeed

First open the file by using vi editor and then

use this :%s /amaze/delight/g

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2563


How do I open a port?

1104


Who command in unix?

1156


What is the use of egrep command in unix?

1205


Which command is used to copy files?

1189


Which command is used to create a directory?

1182


What does the command ' $who | sort –logfile > newfile' do?

1288


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

1172


What happens when we execute a unix command?

1159


What does the md command do?

1166


Differentiate cmp command from diff command.

1181


Differentiate cat command from more command.

1169


Which command will print your home directory on screen?

1093


What is the difference between cat and more command?

1318


What are awk commands?

1174