Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1334


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

1141


Explain command to view process running?

1064


What does 'mkdir' command do in UNIX?

1237


hw will u use awk in replacing cahrs and files

3177


Who command in unix?

1083


What does grep v grep do?

1016


What is grep and how do you use it?

1044


What is ctrl d?

1042


Is ‘du’ a command? If so, what is its use?

1088


What is $0 bash?

1123


What is the pipe command?

1122


Are you in or at the office?

1067


What is used to type command?

1004


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

1137