FreeBSD/bash2
bash2 †
bash2を導入してみます。
環境 †
FreeBSD 6.0
bash 2.05b
インストール †
# cd /usr/ports/shells/bash2 # make install clean ;rehash
シェルを変更 †
$ chsh -s /usr/local/bin/bash
起動スクリプト変更 †
$ 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 | コンソールからログインした時に読み込まれるスクリプト |