Forget the man page on bash--to much work for a simple request.

Edit ".bash_profile" and add thge lines:

export MACHINE=`uname -n`
export PS1='$MACHINE:$PWD>'

This will give you a prompt like: "zues:\home\dooher>"

Regards,
Dan

George Bonser wrote:
> 
> I hate to say this but man bash and read the section about prompts.  It
> goes in your ~/.bash_profile
> 
> On Mon, 18 Aug 1997 [EMAIL PROTECTED] wrote:
> 
> > Could someone tell me how to setup my linux prompt to display what directory
> > I am in?
> >
> >
> > --
> > TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> > [EMAIL PROTECTED] .
> > Trouble?  e-mail to [EMAIL PROTECTED] .
> >
> >
> 
> George Bonser
> 
> Tommy Lasorda for baseball commissioner!
> 
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> [EMAIL PROTECTED] .
> Trouble?  e-mail to [EMAIL PROTECTED] .

-- 
==========================================================
* Dan Dooher                            [EMAIL PROTECTED]      *
* System Administrator          954-351-2120 ext. 515      *
* SportsLine USA, Inc.          http://www.sportsline.com  *


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to