When I type echo $PATH, I get the output:
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
However, I modified my PATH variable using gksudo gedit
/etc/environment; the file now reads PATH="/opt/texbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games".
I am not sure why I am getting two different value of PATH. How can I fix it?
I am running Xfce on a Chromebook using Crouton.
gksudo gedit /etc/environmentand then added"/opt/texbin"saved it rebooted but still the same problem. – DBS Apr 16 '15 at 21:40Description: Ubuntu 14.04.2 LTS. I tried modifying my ~./bashrc file but it is not working. Does it have something to do with running linux over chrome using crouton?– DBS Apr 18 '15 at 12:28