???????????Linux????????????????????д?????????????????????????????????????????????????????????????????????????????????[username@host ??????]$??
???????????????????????????????????????????Linux?????????????????PS1???????????????????PS1?????????????????????????????
???????????echo $PS1??PS1???????PS1="[u@h: w ]$ "?????PS1??????????????????μ????PS1???????????????????????????????PS1?????????????????????????.profile??????????PS1????????μ???
????PS1="["u@"h "w]"$"
????PATH=$PATH:$HOME/bin
????#???export??PS1??????????????????shell????Ч????????ROOT??????????????
????#export PS1 ?????
????export PATH
??????????????????????????????????????壺
????d ???????????????weekday month date?????磺"Mon Aug 1"
????H ????????????????????磺?????????????fc4.linux?????????????fc4.linux
????h ???????????????????????????????fc4??.linux?????
???? ?????????24С???????磺HH??MM??SS
????T ?????????12С????
????A ?????????24С??????HH??MM
????u ?????????????????
????v ??BASH??汾???
????w ?????????????????????????? ~????
????W ??????basename??ù??????????????????г????????
????# ???′??????????
????$ ???????????????root???????????# ?????????????$
????==================================================
??????????????????PS1????????????????????PS1???????????????????????
????"[e[F;Bm"]
????????``F''?????????????30~37??``B''???????????40~47??
?????????``"e[0m''??????????????????B?1???????????????????????????????????????????
?????????
??????? ???? ???
????---------------------------------------
????30 40 ???
????31 41 ??
????32 42 ??
????33 43 ??
????34 44 ??
????35 45 ????
????36 46 ????
????37 47 ???
???????? ????
????-------------------------
????0 OFF
????1 ???????
????4 underline
????5 ???
????7 ???????
????8 ?????
???????????????????????????????$PS1??~/.bahrc??????????????????????£?
???????????
????PS1=""["e[32m"][u@h w] $"["e[m"]"
????export PS1
????Ч????
????[wolfbe@test ~]$
???????????
????if [ $TERM = 'linux' ]; then
????export PS1="["["e[36;1m"]"u@"h "["e[31;1m"]"w"["e[32;1m"]]> "
????zhcon --utf8
????clear
????elif [ $TERM = "xterm" ]; then
????export PS1="["["e[31;1m"]"w"e[0m]> "
????fi