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 / majeed
First open the file by using vi editor and then
use this :%s /amaze/delight/g
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
what is the advaantage of each user having its own copy of the shell?
How do I open a port?
Who command in unix?
What is the use of egrep command in unix?
Which command is used to copy files?
Which command is used to create a directory?
What does the command ' $who | sort –logfile > newfile' do?
What is the comma to display different lines that are found when compare two files?
What happens when we execute a unix command?
What does the md command do?
Differentiate cmp command from diff command.
Differentiate cat command from more command.
Which command will print your home directory on screen?
What is the difference between cat and more command?
What are awk commands?