How can I load my .profile file without a relogin in AIX Server?
Asked
Active
Viewed 2.7k times
9
-
Related: how do i tell gnome to reread my ~/.profile and How to change environment variables without re-logging to UI? – Marco Oct 12 '13 at 11:31
2 Answers
14
Simply source it:
. ~/.profile
Or do a login with su -l <user>, this doesn't require a logout.
Marco
- 33,548
-
In the case of
su -l <user>, the options-,-land--loginare equivalent. – Megidd Jun 15 '18 at 14:13