[K12OSN] Two more problems on starting up system after Christmas break... #2
Les Mikesell
les at futuresource.com
Wed Jan 4 21:14:47 UTC 2006
On Wed, 2006-01-04 at 15:05, Roger wrote:
> > > The second thing that comes up is when I su into root on the server I always
> > > get this printed out in the console...
> > >
> > > [jim at linux-thin1 ~]$ su -
> > > Password:
> > > -bash: [: lib01: unary operator expected
> > > -bash: [: lib02: unary operator expected
> > > -bash: [: lib03: unary operator expected
> > > .
> > > .
> > > .
> > > -bash: [: ws028: unary operator expected
> > >
> > > Things seem to be working though but I don't know why I'm getting this.
> >
> > Do you have a syntax error in root's .bashrc file? An
> > ls -alrt in root's home will show what changed recently
> > at the bottom of the list.
>
> Wont a comparison on an undefined variable get that error also?
If it isn't double-quoted, but I'd call that a syntax error.
--
Les Mikesell
les at futuresource.com
More information about the K12OSN
mailing list