Bash Scripts-HowTo

Billy Pollifrone billy at silverbaseball.com
Tue Sep 12 09:12:25 UTC 2006


On 9/12/06, Leonard Chatagnier <lenc5570 at sbcglobal.net> wrote:
> >
> > It may be stupid of me, but I have to ask. Did you
> > set the executable
> > bit for the script file?
> >
> > - Billy
> >
> I checked a few of the script file I wanted to run and
> they were all executable(3-x's). Btw, these are all
> Kubuntu script files and I did discover that there are
> both .sh and bash script files. Was only aware of the

Ok. Run the script from a konsole by simply typing the full path name
at the prompt. The shabang should tell the shell what program runs it.
If you still have trouble, add a "-x" argument and debugging info will
be printed out as each line in the script executes.

- Billy




More information about the kubuntu-users mailing list