9

How can I load my .profile file without a relogin in AIX Server?

jrara
  • 2,069
  • 8
  • 23
  • 20
  • Related: [how do i tell gnome to reread my ~/.profile](http://unix.stackexchange.com/q/2949/12779) and [How to change environment variables without re-logging to UI?](http://unix.stackexchange.com/q/43638/12779) – Marco Oct 12 '13 at 11:31

2 Answers2

14

Simply source it:

. ~/.profile

Or do a login with su -l <user>, this doesn't require a logout.

Marco
  • 33,188
  • 10
  • 112
  • 146
2
source ~/.profile 

and

. ~/.profile
PersianGulf
  • 10,728
  • 8
  • 51
  • 78