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 / ahmed
sed 's/amaze/amazing/g' filename.txt
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What do know about tee command and its usage?
Describe the usage and functionality of the command rm –r * in unix?
What command will change your prompt to myprompt?
What does this command do? Cat food 1 > kitty
What are grep patterns?
Give the command for finding the current date.
How do you repeat a command in terminal?
What is grep in bash?
What is merge command in unix?
What is the use of egrep command in unix?
What does grep v do?
What is grep and how do you use it?
Why is grep called grep?
What difference between cmp and diff commands?