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

Which command is used to delete all files in the current directory and all its sub-directories?

1267


What is the behavioural difference between cmp and diff commands?

1290


What is the use of find command in unix?

1159


What are the unix commands?

1099


What is the use of sed command in unix?

1215


What is the significance of the 'tee' command?

1202


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

1093


What's a command word?

1183


How do I clear my terminal history?

1182


What is the first character of the output in ls l command?

1216


What does touch command do in unix?

1434


What does 'mkdir' command do in UNIX?

1315


What is the difference between awk and grep?

1260


What are some command words?

1142


Describe the zip/unzip command using gzip.

1163