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 / supreet goswami
sed-i "s| amaze |delight|g" filename
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do I run a whois command?
What is the nmap command?
What are file commands?
What does the command ' $who | sort –logfile > newfile' do?
What do know about tee command?
what is the advaantage of each user having its own copy of the shell?
Explain command to show the space allocation of files?
Does cp command overwrite files?
What does awk stand for?
What is awk good for?
Which command is used to find whether the system is 32 bit or 64 bit?
What is in grep command?
What is the use of egrep command in unix?
What does 'mkdir' command do in UNIX?
What is {} in find command?