What command is used to replace the existing string with
some other?

Answer Posted / drishya

:g/existing word/s//new word

this s can be used while using C in linux...

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a command to display a file’s contents in various formats?

625


How do I use grep to search for a file?

581


Why is it called a shebang?

574


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

625


What are the general commands in using unix os for a beginner?

577






What does this command do,"$more readme.txt“?

689


What is a command and examples?

584


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

645


What are reported commands?

566


What's a command word?

591


What is the search command in unix?

603


What are awk commands?

582


What is rmdir command?

553


Which command is used to restrict incoming messages?

593


What are file commands?

654