It Works

James Drabb JDrabb at cfl.rr.com
Sun Mar 10 09:09:51 PST 2002


On Sun, 10 Mar 2002 09:01:07 +0000
Chris Lingard <chris at stockwith.fsnet.co.uk> wrote:

> Ira Mendell wrote:
> 
> >   One thing I see is that in Redhat when you log in it says
> >   sometheing like "root at localhost:' path'#" while in lfs it ony says
> >   "root~#"      Have I forgoten something?
> >              Ira
> 
> Its just the PS1='\u:\w\$ ' in .bash_profile;  see man bash for the
> options
> 
> Chris
> 
> 
> 
> -- 
> Unsubscribe: send email to listar at linuxfromscratch.org
> and put 'unsubscribe lfs-support' in the subject header of the message
> 

In your ~/.bashrc file you can set your PS1 variable to what ever you
like

This is what I have in my ~/.bashrc file

PS1="\n\w\n\u: $ "
export PS1

The above prompt gives me the full path on a line by itself and then the
prompt below that like this:

/opt/GNOME/share/gnome/apps/Internet
root: $ 

Jim

-- 
James Drabb JR
Darden Restaurants
Business Systems
Programmer Analyst
JDrabb at Darden.com
AstroDrabb at yahoo.com
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list