If I want to set a variable permantly by placing it in one of my files: ..bashrc or .bash_profile, Do I need the export command? Or is this just used if I need to export something temporarely.
example
Code:
PATH=$PATH:/home/shane ; export PATH
is the second part export PATH really needed?
Code:
TEST=/usr/bin/local/test ; export TEST
is export TEST really needed? It seems to work without it, but documentation I read tells me to use it