After changing /etc/profile, what do I have to do to reset my shell?
Solution 1:
use source /etc/profile
for details, man source or you can checkout this link http://bash.cyberciti.biz/guide/Source_command
Solution 2:
If this is bash you can do . /etc/profile
, it's the same as doing source /etc/profile
.