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 / pavankumar

sed 's/word1/word2/g' file

it replaces all occurences of word1 with word2 in file.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the zip/unzip command using gzip.

1132


What does awk stand for?

1052


How can we use grep command in unix?

1166


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

1177


What is a command and examples?

1181


What is “chmod” command?

1120


What does pipe () return?

1047


What is grep command in unix with examples?

1164


What is the use of egrep command in unix?

1148


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

2206


Differentiate cmp command from diff command.

1136


What is the difference between cat command and more command?

1153


What do chgrp command do?

1171


What is the use of finger command?

1174


Is command prompt unix?

1110