blfs book -suggested /etc/profile

Jan Van Belle Jan.Van_Belle at alcatel.be
Tue Jul 15 06:13:56 PDT 2003


Sam Barnett-Cormack wrote:
> 
> On Tue, 15 Jul 2003, Linux wrote:
> 
> > Hi
> >
> > I have used the suggested /etc/profile in the ver4.1 blfs book however it does not appear to like something and the $PATH is not set accordingly.
> > When logging in it shows [: missing ']' after the other login stuff, which would indicate to me that bash thinks there is a missing ] in the code somewhere.
> 
> I don't have that problem, but for me it doesn't correctly show
> superuser shells (with a # instead of a $ at the end) - anyone know how
> to fix this?
> 
> --
> 
> Sam Barnett-Cormack
> Software Developer                           |  Student of Physics & Maths
> UK Mirror Service (http://www.mirror.ac.uk)  |  Lancaster University
> --
> Unsubscribe: send email to listar at linuxfromscratch.org
> and put 'unsubscribe blfs-support' in the subject header of the message

change the PS1 variable you've declared somewhere in your
bash environment files. Otherwise, declare it a second time
in $HOME/.bashrc

Regards,

Jan
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list