Hi,
I have been trying for days to add some directories to the path in ubuntu 14.04 in a way that is set for all users instantly.
I tried creating a file in profile.d, adding the path in /etc/profile, in /etc/environment. Everytime the same: I open the terminal and the path is back to its original state.
I found something related to it being a case of interactive login and interactive not-login shells. If I open a terminal in a graphical ubuntu, it is an interactive not-login shell and ignores those files previously mentioned. If I login with an interactive login shell, the path is adjusted.
I need a way to add for instance /usr/local/bedtools/ to the path in such a way that it is available to all users, in interactive login and not-login shells.
Does anyone know how to accomplish this?
Bookmarks