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
why metadb requires a seperate slice to create Solaris volume manager
What difference between cmp and diff commands?
How does shebang work?
What is the difference between grep and grep?
hw will u use awk in replacing cahrs and files
Which command should you use to find the remaining disk space in unix server?
What is the use of sed command in unix?
Which command is used to find whether the system is 32 bit or 64 bit?
What is s and g in sed command?
How do you repeat a command in terminal?
How to display no of records in oracle using unix command?
What does the md command do?
What is awk used for?
How does the system know where one command ends and another begins?
Enlist some filename manipulation commands in unix.