Rob Fegley wrote:
> 
> I've tried about fifteen ways to get the prompt to look like this:
> 
> [root@firewall /usr/sbin]#   <--- where "/usr/sbin" is a current working directory

I use bash; so, I cannot vouch for ash:

        # PS1=`echo -n -e "[$USER@$HOSTNAME $HOME]# "`
        [root@trout /root]#

hth

-- 

Best Regards,

mds
mds resource
888.250.3987

Dare to fix things before they break . . .

Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . .


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Bringing you mounds of caffeinated joy.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to