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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do chown command do?

769


What is the use of the tee command?

799


How do I open a port?

762


What is {} in find command?

764


What is the functionality of a top command?

787






Who command in unix operating system?

842


how to sort the content of the file based on numeric values

1496


What will the following command do?

791


Explain command to view process running?

795


What is the difference between cat command and more command?

776


What do chgrp command do?

809


Is ‘du’ a command? If so, what is its use?

816


How do you grep recursively?

757


Can you explain a little bit about command substitution?

797


Why is awk called awk?

759