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).
Articles, notes and random thoughts on Software Development and Technology
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).