How would you change all occurrences of a value using VI?

Answer Posted / dinesh

:%s/pattern/new value/g

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is awk called awk?

573


Name the unix command to find how many days the server has been up.

592


What do chgrp command do?

582


What command will change your prompt to myprompt?

691


What is $0 bash?

639






What are reported commands?

557


Enlist some filename manipulation commands in unix.

543


What are grep patterns?

571


Which command is used to copy files?

547


What is the difference between grep and grep?

561


What is the use of sed command in unix?

586


What is the use of finger command?

585


What does the md command do?

560


What are the dos commands?

639


How do I use nslookup?

568