kubuntu-users Digest, Vol 20, Issue 38

Leonard Chatagnier lenc5570 at sbcglobal.net
Tue Sep 12 15:13:09 UTC 2006



> Message: 4
> Date: Tue, 12 Sep 2006 05:12:25 -0400
> From: "Billy Pollifrone" <billy at silverbaseball.com>
> Subject: Re: Bash Scripts-HowTo
> To: "Kubuntu Help and User Discussions"
> 	<kubuntu-users at lists.ubuntu.com>
> Message-ID:
> 
>
<6c889d120609120212n153bb403i6e0ab56a23d35c3e at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1;
> format=flowed
> 
> 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
Thanks Billy,
For this bit of info. The shabang thing mentioned
before is, I'm guessing, !/bin/sh or !/bin/bash line
at the top of the file telling the command what script
type to run. What a nickname. It's like acronyms, If
you don't already know what it means then you don't
know what it means. I'm slow but getting there, I
think.
Thanks again for you help.

Leonard Chatagnier
lenc5570 at sbcglobal.net




More information about the kubuntu-users mailing list