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
hw will u use awk in replacing cahrs and files
What does grep v grep do?
What is the difference between cat and more command?
What will the following command do?
What command is used to switching between users in unix?
How do I find previous commands in unix?
What is a bash command?
How do I clear my terminal history?
What is ‘ps’ command for?
What is unix command?
What is ctrl d?
What is grep and how do you use it?
Which command will print your home directory on screen?
What does the command '$ls | wc –l > file1' do?
What happens when we execute a unix command?