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
What command is used to check the current users?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What is awk good for?
What is awk command used for?
What is the difference between cat command and more command?
What are bash commands?
What command will change your prompt to myprompt?
How do I use grep to search for a file?
What are filter commands in unix?
What is used to type command?
How do I search for text in vi?
What does #!/ Bin sh do?
What is “chmod” command?
What is the command to find maximum memory taking process on the server?
What is command statement?