Hi,

when you export a variable, it becomes known system-wide (or
terminal-wide if you have not logged off).

If you want to do that correctly, you should do something like

export PATH="/whatever/new/path:$PATH"

so you won't lose the existing PATH.

If you are working within a terminal, you can do

source ~/.bashrc

to refresh your global variables.

Also, take a look at bash man page

man bash

Best,

-- 
Stefano

Reply via email to