Guessing environment variables set origin

Yguaratã C. Cavalcanti yguarata at
Fri Sep 11 14:02:49 UTC 2009

Hi guys,

is there any way to guess if a environment variable was set by system of if
it was defined by the configuration files?

I imagined that i could to this by parsing some files such as /etc/profile
or ~/profile, for example. However it would require a complete bash script
parser, i guess.

Any ideas?

Thank you!

Yguaratã C. Cavalcanti

M.Sc. in Computer Science -
RiSE Researcher -
Home page:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Ubuntu-devel-discuss mailing list