FreeBSD/bash2 の変更点


*&SIZE(15){''bash2''}; [#r3d213cf]

bash2を導入してみます。~

+[[''環境''>#A]]
+[[''インストール''>#B]]
+[[''シェルを変更''>#C]]
+[[''起動スクリプト変更''>#D]]

**''環境''&aname(A); [#i70d1feb]
FreeBSD 6.0~
bash    2.05b~
~
**''インストール''&aname(B); [#xb92f4d3]
 # cd /usr/ports/shells/bash2
 # make install clean ;rehash
~
**''シェルを変更''&aname(C); [#af33f7cc]
 $ chsh -s /usr/local/bin/bash
~
**''起動スクリプト変更''&aname(D); [#pfee5972]
 $ cp /usr/local/share/examples/bash/startup-files/bash-profile ~/.bash_profile
 $ cp /usr/local/share/examples/bash/startup-files/bashrc ~/.bashrc

~
|.bashrc|プログラムから呼び出された時に読み込まれるスクリプト|
|.bash_profile|コンソールからログインした時に読み込まれるスクリプト|