PERL vs. Shell scripting for server automation.
Eric Cope
eric.cope at gmail.com
Wed May 19 18:44:42 MST 2010
I've asked this question to myself before. I use the complexity of the task
to determine the answer. If its a simple daisy chain of commands (ls, rsync,
wget), then I stick with bash. If its more complicated, I use PERL or PHP.
Eric
On Wed, May 19, 2010 at 6:16 PM, keith smith <klsmith2020 at yahoo.com> wrote:
>
> Well Shell looks like Chinese to me. I bet I can learn it as I have
> learned a number of languages. I think knowing what to do [with Linux]
> might be more difficult than learning a language. I did some PERL scripting
> about 10 years ago. Seems simple enough.
>
> Since it is half a dozen of one or 6 of the other, I'm wondering which
> would give me more mileage since I am currently doing PHP?
>
> ------------------------
> Keith Smith
>
> --- On *Wed, 5/19/10, James Finstrom <jfinstrom at rhinoequipment.com>*wrote:
>
>
> From: James Finstrom <jfinstrom at rhinoequipment.com>
> Subject: Re: PERL vs. Shell scripting for server automation.
>
> To: "Main PLUG discussion list" <plug-discuss at lists.plug.phoenix.az.us>
> Date: Wednesday, May 19, 2010, 6:11 PM
>
>
> This is like asking bacon or gravy. It depends what flavor of fat you
> are :). Do you know either language? Which are you more fluent in
>
> On 5/19/10, keith smith <klsmith2020 at yahoo.com<http://mc/compose?to=klsmith2020@yahoo.com>>
> wrote:
> >
> > Hi Everyone,
> >
> > I was looking at some examples on writing a back up script and they are
> > written in shell script.
> >
> > Now I'm wondering what would be better PERL or Shell scripting for doing
> > stuff like writing a backup script that might stop MySql, make a copy
> > (dump?) , tar it and maybe move the tarball or place it on another
> server?
> >
> > As you might have gathered from my last couple of questions I am not a
> sys
> > admin. I'm a programmer and am responsible for several servers, so I
> guess
> > I need to break down and learn a few more skills.
> >
> > Thanks in advance for your insight, advice, and help!
> >
> > ------------------------
> >
> > Keith Smith
> >
> >
> >
>
> --
> Sent from my mobile device
>
> James Finstrom
> Rhino Equipment Corp.
> http://rhinoequipment.com ~ http://postug.com
> Phone: 1-877-RHINO-T1 ~ FAX: +1 (480) 961-1826
> Twitter: http://twitter.com/rhinoequipment
> IP: guest at asterisk.rhinoequipment.com<http://mc/compose?to=guest@asterisk.rhinoequipment.com>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us<http://mc/compose?to=PLUG-discuss@lists.plug.phoenix.az.us>
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20100519/81294f83/attachment.htm>
More information about the PLUG-discuss
mailing list