4

I am working on PhoneGap and I need to set some Environmental variables. I used to set it by export and it sets. But when I reboot or relog then it wipes out the variables I previously exported. I don't know why its happening...

I did :

 $ export PATH=${PATH}:${ANDROID_HOME}`
 $ export PATH=${PATH}:${ANT_HOME}`

and similar stuff....

Please help me or provide some hints or suggestions..

3
  • See also askubuntu.com/questions/164586/…
    – Rmano
    Dec 10, 2014 at 8:20
  • ok...then what should i write in that file? the containts.. ??
    – shashi2459
    Dec 10, 2014 at 8:25
  • The command you used in your shell. It's explained in the second answer of the duplicate.
    – Rmano
    Dec 10, 2014 at 8:28

1 Answer 1

3

The tutorial EnvironmentVariables is good reading on this topic.

2
  • really helpful this article Nov 5, 2021 at 12:36
  • really bad answer
    – k.Cyborg
    Jun 6, 2022 at 22:39

Not the answer you're looking for? Browse other questions tagged .