Wednesday, 5 February 2014

Changing environment variable for fedora 20

$nano ~/.bashrc

add following line

export PATH=$PATH:/path/to/dir

Ctrl+x, save and exit

$source ~/.bashrc

$echo $PATH

http://unix.stackexchange.com/questions/42146/changing-an-environment-variable-like-path-forever

https://ask.fedoraproject.org/en/question/24028/how-to-set-environment-variable-permanet/
difference between per-interactive-shell script / login shell

No comments:

Post a Comment