Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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 ?    20 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

827


What is pipe command in unix?

223


What is the use of the command 'ls -x chapter[1-5]' ?

260


Why is it called a shebang?

214


What is awk good for?

199






Enumerate some of the most commonly used network commands in unix?

246


What difference between cmp and diff commands?

264


Which command will print your home directory on screen?

199


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

194


Who command in unix?

221


What is sed awk grep?

219


Can you write a command to erase all files in the current directory including all its sub-directories?

239


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

232


Name the unix command to find how many days the server has been up.

226


What is the general format of unix command syntax?

262