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 are the differences among a system call, a library function, and a unix command?

669


What is the search command in unix?

678


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

768


What command is used to check the current users?

681


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

707






What is the use of egrep command in unix?

704


What does pipe () return?

677


How do I use grep to search for a file?

670


What does the “echo” command do?

730


Explain the steps that a shell follows while processing a command.

767


What is the command to compare two files in unix?

709


Which unix command lists files/folders in alphabetical order?

692


What is the first character of the output in ls l command?

730


Are you in or at the office?

708


What difference between cmp and diff commands?

820