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
What is the command to view process running?
What does the metacharacter mean?
Which command will print your home directory on screen?
Is ‘du’ a command? If so, what is its use?
Name the unix command to find how many days the server has been up.
What is the use of find command in unix?
What happens when we execute a unix command?
What is grep short for?
What does #!/ Bin sh do?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What is the nmap command?
What does awk stand for?
Name the general commands in using unix os for a beginner?
What does the “echo” command do?
How many unix commands are there?