| 一般ユーザ yumiの現在のシェルは?
 sub2# echo $SHELL
 /bin/csh
 Cシェルなのねん( ̄ー ̄)
 
 
 シェルを bash に変えたいのぉ!!
 sub2# chsh -s /usr/local/bin/bash
 chsh: updating the database...
 chsh: done
 
 良し、良しっと(*^_^*)
 -bash-2.05b$ set | grep PS1
 PS1='\s-\v\$ '
 
 -bash-2.05b$
 bashのバージョンは必要ないのよねぇ〜〜
 
 ユーザ名、ホスト名、ディレクトリ名 表示に変えちゃう( ̄ー ̄)
 -bash-2.05b$ PS1=' [\u@\h \w]\$
            '
 [yumi@sub2 ~]$ pwd
 /home/yumi
 
 [yumi@sub2 ~]$ export PS1=' [\u@\h
            \w]\$
            '
 
 [yumi@sub2 ~]$ set | grep PS1
 PS1=' [\u@\h \w]\$ '
 
 これで 良し(*^^)v
 
 
 |