[CentOS] Bash Script help...

Fri May 8 16:58:46 UTC 2009
MHR <mhullrich at gmail.com>

On Thu, May 7, 2009 at 10:12 PM, Jason Todd Slack-Moehrle
<mailinglists at mailnewsrss.com> wrote:
> Hi All,
>
> I need to write a script that I will manually start (or a cron job in
> future) but I need it to do a number of things in order one after
> another.  How do i do that so everything gets dont as the steps depend
> on each other.
>

If you're asking these kinds of questions, a basic primer on how to
use bash, and shell scripting in general, seems to be in order.  It
never hurts to have good manuals around if you are not thoroughly
familiar with a particular paradigm, and it makes for handy reference
in the future.  You will (and did) get lots of help here, but you'll
run into more and mroe of this as you go, and these kinds of issues
are frequently covered in detail in a good manual.

FTR, no, I don't use a shell manual any more.  I've been writing shell
and make scripts for over 20 years, and I still occasionally use the
man page for details that elude me from time to time.  Man has been a
great tool for me, for this.

HTH

mhr