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

sed 's/existingstring/newstring/g' filename or Specfied
row means sed '1,10s/existingstring/newstring/g' filename

Is This Answer Correct ?    23 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are you in or at the office?

1171


What do know about tee command and its usage?

1249


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

1327


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

1194


How to find $ai_serual resolved path by using unix

1842


What is the general format of unix command syntax?

2029


Which command is used to copy files?

1248


What does the command '$ls | wc –l > file1' do?

1299


Enlist some filename manipulation commands in unix.

1221


What is grep and how do you use it?

1175


What is a bash command?

1240


How do I use grep to find a file?

1164


What is the behavioural difference between cmp and diff commands?

1342


What does this command do? Cat food 1 > kitty

1637


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

1317