The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Amoung tar and gzip whiich unix command is more practical with respect to space manag manas6 UNIX for Advanced & Expert Users 3 03-26-2008 04:01 AM
empty space in java command through unix shweta_d Shell Programming and Scripting 2 06-27-2007 02:37 PM
upper limit of accessible memory space for a single process in Unix/Linux cy163 UNIX for Dummies Questions & Answers 1 04-30-2007 07:09 AM
unix top command (memory usage) gfhgfnhhn UNIX for Advanced & Expert Users 2 03-17-2006 04:33 AM
Memory/virtual space degwright Shell Programming and Scripting 5 11-23-2001 05:44 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-10-2006
Registered User
 

Join Date: Mar 2006
Posts: 17
exporting variables - memory space

Hello,

I have 2 or more environment files, with identical variable names; see below:

.env_file1
export PROJNAME="XYZ"
export PROJID="2"

.env_file2
export PROJNAME="WSX"
export PROJID="9"

.env_file(n)
export PROJNAME="QAZ"
export PROJID="12"


The env files above will be sourced by scripts to use the variables in them, Now, if one of the scripts run concurrently with another script that used a different env. file, will there be any conflicts, in other words will the values get overriten by the next script?

I guess my question is about memory space and how UNIX deal with such issue.

Your help is so appreciated.

Thanks,
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-10-2006
Registered User
 

Join Date: Mar 2006
Posts: 17
UNIX export command - memory space

Hello,

I have 2 or more environment files, with identical variable names; see below:

.env_file1
export PROJNAME="XYZ"
export PROJID="2"

.env_file2
export PROJNAME="WSX"
export PROJID="9"

.env_file(n)
export PROJNAME="QAZ"
export PROJID="12"


The env files above will be sourced by scripts to use the variables in them, Now, if one of the scripts run concurrently with another script that used a different env. file, will there be any conflicts, in other words will the values get overriten by the next script?

I guess my question is about memory space and how UNIX deal with such issue.

Your help is so appreciated.

Thanks,
Reply With Quote
  #3 (permalink)  
Old 04-10-2006
Ygor's Avatar
Moderator
 

Join Date: Oct 2003
Location: -31.96,115.84
Posts: 1,226
Threads merged. Please read the rules and do NOT cross-post.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:38 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0