Re: Set the prompt.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
thanks for your answer. I found that what I have set works but when I
logging through X-Window session; however  it does not work if I go
through an X-term or Term session.
What is the difference.
Thanks
Edward


On Wed, 2004-11-03 at 13:12, Scott Taylor wrote:
> Scott Taylor said:
> >
> > Edward Parrilla said:
> >>
> >> PS1="{${HOSTNAME}"':${PWD}}'
> >> export PS1
> >
> > Try:
> >
> > man bash
> 
> Look for PROMPTING
> /PROMTING
> 
> > I get:
> > PS1="\h:\W "
> 
> Sorry, that should be lower case 'W' "\h:\w " to get a full PWD with ~/ to
> represent your home directory, but it gets very long that way.
> 
> --
> Scott
> -
> : send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux