On 11-Dec-98 Catalin Bucur wrote:
> Hello guys,
>
> Where can I find a manual or something which can help me to create
> scripts for RedHat? I mean with some examples and hints...
Scripts are probably best described as "Non-compiled interpreted programs"
(anyone has a better definition?). That is to say that any program that is
interpreted as a source code is a script. Since scripts are interpreted, it
normally would not matter which Linux distribution, or even which OS you are
using.
If you wish to learn how to write a script, you must first decide which
interpreter you wish to use. Typical choice for an interpreter are the shells
(eg. bash, csh), filters (eg. awk), and programs for scripting languages (eg.
perl, python, tcl/tk).
O'Reilly publishes books on most of the common scripting languages and shells.
You may also find some resources on the internet by searching for the scripting
language that you wish to learn, but these inet resources are seldom as
thorough as a published book.
If non of these works for you, you can always resort to the man pages, supplied
documentation or try reading existing scripts. For example, if you wish to
learn bash shell scripting, you can look in the bash man page (run "man bash").
Be sure to accumulate a large surplus of patience before you try this.
Personally, I would recommend that you start by learning how to write scripts
for the bash shell. It's one of the most useful scripting language for general
use, and it helps build up a better understanding of your command line
environment.
Cort
[EMAIL PROTECTED]