version a... export PS1="\l [EMAIL PROTECTED] #"

version b... export PS1="\l [EMAIL PROTECTED] \\$"

"B" changes the "#" to be either "$" or "#" per user's non-root/root status.

-----Original Message-----
From: Unix Fan <[EMAIL PROTECTED]>
To: misc@openbsd.org
Subject: Re: changing bash prompt escape sequences
Date: 24 Feb 2008 08:54:19 -0800
Delivered-To: [EMAIL PROTECTED]

$ cat .bash_profile

...

export PS1="\l [EMAIL PROTECTED] #"

$



Then log back in..... this really is basic stuff.. ;)



(Use ksh, it's much better then bash... )







-Nix Fan.

Reply via email to