Search and replace
Need to change some text across a lot of files? As in, moving from one comment or trackback URL to another? The this little perl snippet might be of interest:
perl -pi -e 's/foo/bar/g;' *
Which edits the files in place and then searches for foo and replaces it with bar.