Featured Post

TechEd 2007 Moved to Orlando

As first noted by DevFish, Tech Ed 2007 is being moved to Orlando.  Previously it was going to be held in New Orleans.  This is kind of a bitter sweet move for me.  It is sweet because now I get to go fishing with DevFish since I got on the list first.  And it is bitter because instead of me driving...

Read More


Search and Replace a string in any file

Posted by Keith Elder | Posted in Linux, Programming | Posted on 16-10-2000

In UNIX environment, the following combination of perl and find will serch for a particular file and replace the occurence of a particular string with another string in that file. This will also work for multiple files and directories. The find command finds the file and the perl script replaces old string with the new one. perl -pi -e 's/old string/new string' `find . -name "file name"`