FreeBsd6 bash
bashが入ってないのでいれます。
[ Ports Collection からインストール]
// インストール
# cd /usr/ports/shells/bash2
# make
# make install
// bash に変更
# chsh -s /usr/local/bin/bash
# bash
// bash_profileのスケルトン
# /usr/src/share/skel/dot.bash_profile
// .bash_profile作成
if [ "$PS1" ]; then
PS1="\h\$ "
IGNOREEOF=3
fi
[ -f ~/.bashrc ] && . ~/.bashrc
// .bashrc作成
PS1='[\u@\h]\$ '
[ Ports Collection からインストール]
// インストール
# cd /usr/ports/shells/bash2
# make
# make install
// bash に変更
# chsh -s /usr/local/bin/bash
# bash
// bash_profileのスケルトン
# /usr/src/share/skel/dot.bash_profile
// .bash_profile作成
if [ "$PS1" ]; then
PS1="\h\$ "
IGNOREEOF=3
fi
[ -f ~/.bashrc ] && . ~/.bashrc
// .bashrc作成
PS1='[\u@\h]\$ '
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home