.bash_profileは、bashシェル実行時に自動的に読まれるスクリプトが記述されている環境設定ファイルである。各ユーザーのホームディレクトリ直下にある。 このファイルが存在しない場合には、~/.profileが読み込まれ、Red Hat Linux 7.2の標準設定では次のようなファイル内容になっている。 $ cat .bash_profile # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin export PATH unset USERNAME