[KLUG Members] linux scripts
Jim Pharis
members@kalamazoolinux.org
Thu, 15 Aug 2002 15:47:25 -0400 (EDT)
If you would like you are welcome to peek at some simple
examples of bash scripts I have posted on my web page at
www.csis.gvsu.edu/~pharisj/files/c/cs361/proj3
Jim Pharis
On Thu, 15 Aug 2002, bill wrote:
> In Dos/Win I could write a simple command line script with a bit of programming,
> name the extension .bat and execute it whenever I want.
>
> In Linux it appears I can do the same. Just write command lines, save as text
> and make it executable.
>
> Now, I want to have some functionality in the code (if this, do that, else,
> on_error, ...). I'm thinking that in Linix, scripts can be handled by different
> processors by using the #path_to_shell as the first line. But, that's as far as
> I know.
>
> Is my "shell" thinking correct?
>
> What would be the best way to add simple functionality to scripts?
>
> Where could I find info on the proper syntax for the appropriate shell?
>
> kind regards,
>
> bill hollett
>
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
>
>
--