How to replace the exact word in vi editor??
suppose a file contains words like amaze,amazed,amazement in
some of the line.But i want to replace only 'amaze' with
delight but don't wanna replace amazed or amazement.
thanks
Answer Posted / chandra babu.p
s/string/string/g;
ex;
:s/unix/linux/g
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
Explain the steps that a shell follows while processing a command.
What does #!/ Bin sh do?
What is the command to find maximum memory taking process on the server?
Differentiate cmp command from diff command.
Which command is used to copy files?
What is the significance of the 'tee' command?
How does the system know where one command ends and another begins?
How can you see the command line history?
How do you repeat a command in terminal?
What is sed awk grep?
Are you in or at the office?
What does sed command do in unix?
What is the use of tee command?
How do I find previous commands in unix?
What is awk used for?