Problem: During Android development, in order to add ADB path to environment variable; I did following things in short-
gedit /etc/environment - Added my desired path in the file such as
But, What I noticed that, adding path to the file has no effect to
$PATH until I reboot my Ubuntu.
My question is, How can I add path to
/etc/environment variable, and without restarting Ubuntu?, So that I can work with my modified
Please Note: I'm new to Ubuntu and learning each day.