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 is the behavioural difference between cmp and diff commands?

1295


Why is shebang used?

1140


How do I run a whois command?

1162


What do know about tee command and its usage?

1195


What are filter commands in unix?

1207


What does this command do? Cat food 1 > kitty

1598


What will the following command do?

1132


What is {} in find command?

1120


Is it inbetween or in between?

1072


Which command is used to create a directory?

1177


What does #!/ Bin sh do?

1078


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1321


Describe the zip/unzip command using gzip.

1169


How do I find previous commands in unix?

1197


What is “chmod” command?

1190