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
Which command can you use to find the currently running process in unix server?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is the pipe command?
How can we use grep command in unix?
Using unix command how to display no of records in oracle?
What is the size of time_t?
What do chmod command do?
What is the function of grep command in unix?
Explain mount and unmount command.
What is the nmap command?
Can you explain a little bit about command substitution?
What's a command word?
What does the metacharacter mean?
What difference between cmp and diff commands?
What is the use of cut command in unix?