共通のパスを/etc/profileに設定したいので、各ユーザーがログインする際には/etc/profile

を読み込むようにする。


1.devユーザーの.bash_profileを開く

   vi /home/dev/.bash_profile #bashの前の.(カンマ)を忘れずに!


2.ログイン時に/etc/profileを読み込むように設定

   # vi .bash_profile

   if [ -f /etc/profile ]; then

     . /etc/profile

   fi