On Monday 06 February 2006 03:25, Derek Jennings wrote:

> >
> > OK, I am still missing something here. When I try to run the script,
> > I get "Command not found". I have tried it with the first line
> > commented out, or not commented, and it seems to make no difference.
> > I did make it executable. I must be missing something simple, so if
> > you have any idea, I would appreciate it.
> >
> > Regards,
>
> You will need to give the explicit path to the script. For
> example /home/myuser/myscripts/mysigscript
> ~/myscripts/mysigscript will also work since '~' means 'my home'.
>
> Linux will find executable files without an explicit path only if the path
> is defined in your $PATH environment variable. The standard $PATH variable
> does not include your /home.
>
>
> And just so there is no confusion you should remove the '#' comment
> character from every line of that example script except the first (The '#!'
> sequence tells the system what sort of script it is)
>
> derek

Yeah. What Derek said.  <g>

-- 
05:36:00 up 1 day, 6:45, running Mandriva Linux release 2006.0 (Official) for 
i586, kernel 2.6.12-12mdk
Registered Linux user #324360

Small is beautiful.
                -- Schumacher's Dictum
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to