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

What command is used to replace the existing string with
some other?

Answer Posted / amit kumar

sed 's/existing_word/new_word/g' file1.txt.It replaces the
all the existing word with new word wherever it occurs in
file1.g stands for global.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are bash commands?

1109


Explain how to use grep command to list find the records of a file containing 10 different strings?

1028


How do I use nslookup?

1060


How to find $ai_serual resolved path by using unix

1671


What is “chmod” command?

1114


What is command substitution?

1293


What will the following command do?

1088


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

1124


What is the difference between cat and more command?

1244


How does the system know where one command ends and another begins?

2193


How do I run a whois command?

1119


Which command is used to kill the last background job?

1303


What does touch command do in unix?

1365


What command will change your prompt to myprompt?

1272


What does pipe () return?

1037