I'm using a script to export a path like this:
echo "export MONO_PATH=~/turbo/" >> ~/.profile;
So from now on, the path will be available whenever the user logs in. However, I want to the path to be effective without requiring the user to log out and in again. Currently, this is my solution:
This works, but only for the currently running terminal session. If the user opens a new one, the path won't be available (unless he logs out of course).
Additionally to adding the path to .profile, how can I make the changes effective system-wide and immediately?