UNIX export command - memory space


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users UNIX export command - memory space
# 1  
Old 04-10-2006
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,
# 2  
Old 04-10-2006
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,
# 3  
Old 04-10-2006
Threads merged. Please read the rules and do NOT cross-post.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Memory space

It would be great if you tell me how to check the ram memory size in unix machine RAM memory size check (10 Replies)
Discussion started by: arun888
10 Replies

2. Shell Programming and Scripting

When i am trying to execute export command within a shell script it is saying command not found.

I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found" My code is as follows: -------------------------- #!/bin/sh user="test" DIR="/bldtmp/"$user VIEW="test.view1" echo "TMPDIR before export... (4 Replies)
Discussion started by: dchoudhury
4 Replies

3. Shell Programming and Scripting

Export command in unix

Hi, executing below command for export in cygwin, though I have already mentioned the username and password with the command but on execution it again asks for username, what modification is needed in the below command ? may be there is some problem in using inverted comma ? exp... (1 Reply)
Discussion started by: milink
1 Replies

4. UNIX for Dummies Questions & Answers

Command to display the space usage (memory usage) of a specific directory.

Hi all, Can you please tell me the command, with which one can know the amount of space a specific directory has used. df -k . ---> Displays, the amount of space allocated, and used for a directory. du -k <dir name> - gives me the memory used of all the files inside <dir> But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies

5. Shell Programming and Scripting

Export data from DB2 table to .txt file(space delimited)

Hi I need help on this. Its very urgent for me.. please try to help me out.. I have data in tables in DB2 database. I would like to export the data from DB2 tables into a text file, which has to be space delimited. so that I can carry out awk, grep operations on that file. I tried to export... (2 Replies)
Discussion started by: ss3944
2 Replies

6. Shell Programming and Scripting

awk/sed Command : Parse parameter file / send the lines to the ksh export command

Sorry for the duplicate thread this one is similar to the one in https://www.unix.com/shell-programming-scripting/88132-awk-sed-script-read-values-parameter-files.html#post302255121 Since there were no responses on the parent thread since it got resolved partially i thought to open the new... (4 Replies)
Discussion started by: rajan_san
4 Replies

7. UNIX for Advanced & Expert Users

Amoung tar and gzip whiich unix command is more practical with respect to space manag

Hi All Can any body help me out. Amoung tar and gzip whiich unix command is more practical with respect to space management and file restoration. Eg if I use tar or gzip which will be more helpful to reduce the space and during the file restoration. Please help me out. regards... (3 Replies)
Discussion started by: manas6
3 Replies

8. Shell Programming and Scripting

empty space in java command through unix

I need to pass an empty space in the command ="java ......... " as one of the arguments where java calls some java command.... (It accepts it in windows as " ") Thanks in advance SD (2 Replies)
Discussion started by: shweta_d
2 Replies

9. UNIX for Dummies Questions & Answers

upper limit of accessible memory space for a single process in Unix/Linux

Hellp all, if there is 3G memory in my Unix server I want to know if all the 3G space can be used by ong sigle process. As i know, in Windows, one process can only access at most 1G memory despite there is probably more than 1G memory is equipped. (1 Reply)
Discussion started by: cy163
1 Replies

10. UNIX for Advanced & Expert Users

unix top command (memory usage)

in unix when i use top i get an output like this: load averages: 0.64, 0.57, 0.53 14:04:42 347 processes: 1 running, 1 waiting, 169 sleeping, 172 idle, 4 stopped CPU states: 16.4% user, 2.8% nice, 7.6%... (2 Replies)
Discussion started by: gfhgfnhhn
2 Replies
Login or Register to Ask a Question