Techno Thoughts!  Subscribe

Tag: computers

Find and Replace Across Multiple Files

by ichilton on Mar.15, 2009, under UNIX

Have you ever needed to change the same thing in a load of files and have had to sit there and go through each one in turn and make the same change?

This is a really useful and simple command:

perl -pi -w -e 's/from text/to text/g;' *

It simply goes through all files matching * and runs the regular expression, ’s/from text/to text/g’ - which means replace all instances of “from text” with “to text”.  nifty!

4 Comments :, , , more...

Free Software

by ichilton on Mar.15, 2009, under Software

It always amazes me, in this day and age where so much is centred around money and people trying so many different things to make money, how much you can get for free. In particular i’m talking about software. For every piece of paid software, there will generally be one or more free alternatives. They are sometimes not as good, sometimes better - but free and generally someone - or a group of people have spent countless hours creating something…to give away for free. Excellent!

There is all kinds of different free software around - from web sites/online tools, operating systems to just plain old software.

Here is a very useful site i’ve found which is really useful for finding cool, free Windows applications: http://www.techsupportalert.com

1 Comment :, more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...