How to find and replace the below command?

Answer Posted / muralidharan

In a vi mode

:%s/searchword/replacaceword/g

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of awk command in unix?

585


Does cp command overwrite files?

630


Enlist some filename manipulation commands in unix.

556


How do I clear my terminal history?

588


Which command is used to restrict incoming messages?

594






What is the search command in unix?

609


What are the commands in UNIX to list the files in a Directory?

622


How to display no of records in oracle using unix command?

591


Explain command to display different lines that are found when compare two files?

680


How does shebang work?

594


What is rmdir command?

557


Explain mount and unmount command.

623


Write a command to kill the last background job?

622


What is the difference between cat and more command?

627


What are grep patterns?

581