coolboarderguy has asked for the wisdom of the Perl Monks concerning the following question:

Hi All, I'm a newb to Perl. I'm wanting to learn how to manage Unix/Linux with Perl. Thing is, where to start. I'm following a good online tutorial for Perl basics, but, was wondering where to get/view some good examples of Perl Unix/Linux admin code.? Seeing how others use Perl in this environment, is the best way, I would think, to learn it. I have no desire to do cgi/web stuff etc. Anyone got some suggestions.? I know a good book would be helpful, but, anything online.? Cheers. coolboarderguy...

Replies are listed 'Best First'.
Re: Perl and Unix/Linux Examples
by Zaxo (Archbishop) on Sep 13, 2005 at 06:57 UTC

    See the book Perl for System Administration. I believe it was also on a couple of editions of the Perl CD bookshelf.

    That kind of programming is a mix of text-file manipulation, IPC, and network/socket programming. It's much like many other perl applications, but it's needful to pay particular attention to file locking and other reliability techniques.

    After Compline,
    Zaxo

Re: Perl and Unix/Linux Examples
by marto (Cardinal) on Sep 13, 2005 at 08:32 UTC
Re: Perl and Unix/Linux Examples
by puploki (Hermit) on Sep 13, 2005 at 12:33 UTC

    I'm very biased because it's my boyfriend's site, but when I started on doing Perl I found his tutorials very handy for the basics. It doesn't cover your Sys Admin requirements, but it should give you a reasonable foundation on which to start.

    Of course, as others have pointed out, Perl Monks is a great place to learn as well ;)

Re: Perl and Unix/Linux Examples
by philcrow (Priest) on Sep 13, 2005 at 14:28 UTC
    If by "managing Unix/Linux" you include things like socket based client/server pairs, daemons and the like, you might like O'Reilly's Perl Cookbook. When I was new to Perl and unix administration it helped me a lot with both.

    Phil

      Hi All, thanx, great stuff all...Perl Cookbook is in store here in Tokyo. Saw it yesterday..will peruse it once more for what you mention of it...looks like I've found my Perl home..cheers. coolboarderguy...
Re: Perl and Unix/Linux Examples
by blazar (Canon) on Sep 13, 2005 at 14:44 UTC
    Personally I think that "Unix/Linux admin code", whatever language one is referring to, may have to do with far too many aspects of administration to deserve an answer in terms of a single resource. In any case resonable "places" into where to look here at PM could be Snippets, Code Catacombs and probably Tutorials.

    As a cheap ad to a node of my own, I can suggest this one: wmchoose.