[TriLUG] shell problems?
Mike Broome
mbroome at employees.org
Wed Jun 26 08:08:01 EDT 2002
Janyne,
On Wed, Jun 26, 2002 at 07:54:16AM -0400, Janyne Kizer wrote:
> I am installing a few servers for the developers in my group -- just a
> basic RH install with no gui. I think that there is a problem with
> bash. I am seeing some errors like the ones below:
>
> /bin/sh: /local/bin/base_line.sh: bad interpreter: Permission denied
>
> bash: export:
> `/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin':
> not a valid identifier
Is /local/bin/base_line.sh a standard RH script or a home-grown script?
My guess from this error message is that there is probably a line in the
base_line.sh script something like the following:
export $PATH=$PATH:/some/path
Note the '$' on the left side of the '=' which is not valid in
bash/sh/ksh. I make this mistake occassionally when I'm switching back
and forth between bash and perl.
> Any pointers would be appreciated. Now, more coffee...
If that's not it, maybe more coffee will help figure it out. :)
Mike
--
Mike Broome
mbroome(at)employees.org
More information about the TriLUG
mailing list