Bash prompt

Daniel Gerzo danger at rulez.sk
Sun Jul 17 21:36:18 GMT 2005


Hi Alex,

Sunday, July 17, 2005, 11:30:38 PM, you wrote:

> How I can chage my bash prompt to this:
> [user at host directory-name(e. g. "alex" for /usr/home/alex)]$

> I assume that I need to do that:

> export PS1='[\u@\h \(here i don't know what to do, i assume, that I
> need to write "\p" or "\P", but it's not working)]\$

try google fisrt next time :-)

http://freeunix.dyndns.org:8088/site2/howto/Bash.shtml#prompt

-- 
Best Regards,

 DanGer, ICQ: 261701668  | e-mail protecting at: http://www.2pu.net/
 http://danger.rulez.sk  | proxy list at:        http://www.proxy-web.com/
                         | FreeBSD - The Power to Serve!

[ "Bother!" said Pooh as he >S*W*I*P*E*D< a better tagline. ]


More information about the freebsd-questions mailing list