#Linux path variable
1 messages Ā· Page 1 of 1 (latest)
depends on which distro your using
I'm currently on Sparky, it's a debian testing derivate.
/etc/environment is global
Yes thanks, I need to concatenate global PATH with a custom folder. Is it enough type PATH=PATH:/customfolder/ in /etc/environment?
PATH="/usr/local/bin/chrome"
Ok thanks i'll give a look once I'm at home. Thanks for support šš»
no problem hope it works for you
I let you know
Ok I tried and expanding the PATH variable in /etc/environment does not work, in here I need to type all the whole value of the path...
In /etc/profile it was working but only in an login shell.
So I ended up on expanding the PATH variable in /etc/bash.bashrc file, and now it's working like a charm.