bashの設定ファイル
bashの設定ファイル
/etc/profile
すべてのユーザーのログイン時に実行される。
/etc/bash.bashrc
すべてのユーザーのbash起動時に実行される。
/etc/bashrc
~/.bashrcから参照される。
~/.bash_profile
ログインに実行される。
~/.bash_login
~/.bash_profileがない場合、ログイン時に実行される。
~/.profile
~/.bash_profile及び~/.bash_loginがない場合、ログイン時に実行される。
~/.bashrc
bash起動時に実行される。
~/.bash_logout
ログアウト時に実行される。