Making changes to /etc/profile

If you make changes to /etc/profile and want them to take effect immediately without rebooting, run the script using . ./profile (assuming the file has execute flag set, if not chmod +x profile to set it).