unix and perl tutorials

I get stumped when I’m trying to “program” a lot. Most of the time I’ll reach for one of the many books on my bookshelf (e.g. I couldn’t live without my Perl Cookbook) but sometimes I’ll simply be lazy and look on Google. Oh, I’m emphasizing the word “program,” for the benefit of my work colleagues who might be perusing this entry while lurking in the background on the blog. They know that I don’t really “program” per se, it’s really just low level crap that I glorify and that no “real” developer in their right mind would want to do anyway. But I digress….

I stumbled onto two very nice tutorials that I thought were very good at (1) giving an overview and (2) demonstrating the basics. Here’s an introduction to the UNIX operating system and here’s an introduction to the Perl programming language.

So if you’re ever trapped in front of a Linux/UNIX machine and you need to figure out how you can make directories, create text files, concatenate text files, sort text files, adjust user permissions, install RPM packages and then how to write and execute Perl programs – here you go.

Comments 4

  1. bjurk wrote:

    % kill
    % big_sloppy_hooters

    I find myself typing this everytime my boss walks by

    Posted 11 May 2004 at 10:46 am
  2. peppers wrote:

    Funny, I’ve found myself typing this:

    % perl -pi -e s/smart/dumb/ burke.txt

    Posted 11 May 2004 at 5:34 pm
  3. bjurk wrote:

    #!/usr/bin/perl -w

    print “TaP is a block head”;

    print “want to draw his head?\n”;

    print “it’s easy!\n\n\n”;

    print “Input the height of TaP’s head–chin to crown\n”;


    print “Input the width of TaP’s head–ear to ear folks\n”;


    print “Let’s give his head a logo. go ahead now.\n”;



    print “$msg” x $width . “\n”;



    Posted 12 May 2004 at 8:27 am
  4. peppers wrote:

    #!/usr/bin/perl -w
    use strict;
    my $g = “Ujku fqgup’v eqorkng, hwemkpi jcem!”;
    $g =~ tr/B-Y/A-Z/;
    $g =~ tr/c-y/a-z/;
    print $g, “\n”;

    Posted 12 May 2004 at 9:01 am