Re: Bash Script help...

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



On Thu, May 7, 2009 at 10:12 PM, Jason Todd Slack-Moehrle
<mailinglists@xxxxxxxxxxxxxxx> 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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux