Results 1 to 3 of 3
Hello everbody,
How da hell i run a .env file to set my envoriment variables, the goal is to have 2 diferent .env files in the home directory to run ...
- 09-27-2011 #1Just Joined!
- Join Date
- Sep 2011
- Posts
- 2
Running .env files
Hello everbody,
How da hell i run a .env file to set my envoriment variables, the goal is to have 2 diferent .env files in the home directory to run depending of the envoriment to work (im working in Oracle AS10g)
I tried almost every solution that i find on my friend google and nothing works.
Thank you all
- 09-27-2011 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
It depends upon whether you want to set the environment for a single command-line session, or for your entire login session (possibly GUI based). In either case, to execute an environment script that will persist after the script is run you need to use either the . (dot) command, or "source" command. Example:
Code:source ~/env1.env # or . ~/env1.env
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 09-27-2011 #3Just Joined!
- Join Date
- Sep 2011
- Posts
- 2
So f*** simple
Thanks a lot Rubberman


Reply With Quote