Re: Set the prompt.

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

 



Try
PS1="\h \w"
export PS1
That will do the trick, but it looks like something not so nice.
PS1="\h \w $ "
is a bit better. :)




On 03 Nov 2004 12:53:13 -0600, Edward Parrilla <eparrilla@xxxxxxxxxxx> wrote:
> Hi all,
> I have created this line in my .bash_profile
>
> PS1="{${HOSTNAME}"':${PWD}}'
> export PS1
>
> However when I initiate my term session it does not show the host name,
> nor the PWD.
> What could be wrong?
> Regards
> Ed
>
> -
> : 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