![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Enviornment Variable in B shell (I call it nested variable) | princelinux | Shell Programming and Scripting | 4 | 07-01-2008 10:35 PM |
| Urgent-reading a variable value | kaaakrishna | UNIX for Advanced & Expert Users | 3 | 06-16-2008 12:51 AM |
| Urgent-Reading eval result in a variable | kaaakrishna | UNIX for Advanced & Expert Users | 1 | 06-14-2008 06:03 AM |
| how to store the first content of the folder in a variable?(Urgent) | sunitachoudhury | Shell Programming and Scripting | 3 | 04-08-2008 12:11 AM |
| Urgent!! Bash - problem using CD with variable | jacksam007 | Shell Programming and Scripting | 1 | 01-17-2007 07:10 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
New Variable with Existing variable( Urgent)
hi all,
i want use the variable value as a new variable name. print output of new variable. for i in COMPUTER1 COMPUTER2 do flag_name=${i}_FLAG eval ${flag_name}=123 echo $i'_FLAG' done output is COMPUTER1_FLAG COMPUTER2_FLAG i need output as 123 123 |
| Forum Sponsor | ||
|
|