this is obsolete doc -- see http://doc.nethence.com/ instead

How to configure the Bash shell 

 

 

Add this to /etc/bashrc or ~/.bashrc, 

LANG=en_US; export LANG
CVS_RSH=ssh; export CVS_RSH
[[ "$USER" = "root" ]] && PS1="\h# " || PS1="\h> "
  #http_proxy=http://proxy.example.com:8080; export http_proxy

 

Note. As for AIX, use this LANG instead, 

LANG=C; export LANG

 

Note. as for Solaris, use this one, 

LANG=en_US.ISO8859-1; export LANG

and make sure /usr/sfw/bin is also in the PATH 

 

Note. When you're done configuring the system, you may want to cleanup the history, 

history -c

 

When you got a freaked up shell, 

reset

 

 

Links 

http://pwet.fr/tags/keywords/weblog/bash