How would you change all occurrences of a value using VI?
Answer Posted / sameer
press esc+shift
then when the VI takes u to the edit mode use the following.
:1,$s/pattern to be changed/new value/g
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
Which command will print your home directory on screen?
What is grep and how do you use it?
What are some command words?
Why is shebang used?
What is the difference between awk and grep?
Explain the steps that a shell follows while processing a command.
Explain command to display different lines that are found when compare two files?
What command will change your prompt to myprompt?
How to display no of records in oracle using unix command?
Name the various commands that are used for the user information in unix.
Describe the usage and functionality of the command rm –r * in unix?
What is $0 bash?
How do I run a whois command?
what is the advaantage of each user having its own copy of the shell?