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 to find $ai_serual resolved path by using unix
Who command in unix operating system?
How do I find previous commands in unix?
Is command prompt unix?
What is grep in bash?
What is updatedb?
How does shebang work?
What is the difference between grep and grep?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What is used to type command?
What is the difference between cat command and more command?
What is a bash command?
What do chmod command do?
What are the general commands in using unix os for a beginner?
What is awk used for?