Ubuntu 6.10 : .bash_profile を有効にしたい

Ubuntu 6.10 : .bash_profile を有効にする方法です。


1)setting (/etc/profile)

sudo vi /etc/profile

(追記)
# include .bash_profile if it exists
if [ -f ~/.bash_profile ]; then
. ~/.bash_profile
fi

2)setting (~/.bash_profile)

vi ~/.bash_profile

(コメントアウト)
## include .bashrc if it exists
#if [ -f ~/.bashrc ]; then
# . ~/.bashrc
#fi

以上

About yoshimasa

埼玉県さいたま市在住、2男3女のパパです。Linux系の技術情報を中心にまとめています。1978年2月生まれ。