[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Shell Scripting



At 02:12 PM 1/29/01 -0600, you wrote:
At risk of starting a religious war on shells, (and because I figured
I'd give y'all something more interesting to talk about than top-posts),
I thought I'd go ahead and ask:

I'm about to start learning to script on Linux. (Yes, I've ignored this
facet of my education in the past.) However, I have no clue as to
whether perl or shell-scripts (or something else) is the best first
choice for general-purpose scripting.

What would you recommend? My purpose is, I imagine, the most pedestrian
one: to automate server tasks my way, just as Jeff did with his
ntpupdate script recently. I tend to prefer tcsh for my shell, but am
acutely aware that many/most people stick to bash (so much so that my
root identities on all servers still use bash just in case...)

Later on I'll tackle PHP(4?) so I can get away from using FrontPage to
design websites... <grin>

--
Rodolfo J. Paiz
rpaiz@xxxxxxxxxxxxxx <mailto:rpaiz@xxxxxxxxxxxxxx>
Nueva Dirección: rpaiz@xxxxxxxx <mailto:rpaiz@xxxxxxxx>

I found that I was able to learn some basic shell scripting quickly, then moved to perl, then worked to improve with both. Shell scripting seemed to offer opportunities for quick, basic admin scripting. Also, shell scripting forced me to reacquaint myself with the various tools that can be accessed via scripts.

Peter