![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| simple unix script help | xtos | Shell Programming and Scripting | 2 | 07-23-2007 03:33 AM |
| I have a simple unix question | smn2003 | UNIX for Dummies Questions & Answers | 1 | 12-10-2005 04:06 PM |
| Simple Unix Question | djt0506 | Shell Programming and Scripting | 1 | 11-25-2005 04:26 AM |
| How do I organize a series of files in date order? | hedgehog001 | UNIX for Dummies Questions & Answers | 1 | 08-23-2005 12:04 AM |
| simple Unix commands | i don't care | UNIX for Dummies Questions & Answers | 2 | 08-16-2002 12:09 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
looking for a simple way to organize envs on our unix box...
would like to standardize how we set envs on our unix box, so I thought a menu would be a great way to accomplish this.
The problem I'm experiencing, is the value is set...but ONLY during the time the menu is initiated. please see below: > /home/is/bin/r12MENU.sh **================================================================** ** to Set your environment, select one of the following: ** ** 1.) DEVSID - Development Environments ** ** 2.) UATSID - CRP2/UAT Environments ** ** 3.) GLDSID - GOLD Environments ** ** 4.) APPSSID - PROD Environments ** ** e.) EXIT this menu ** **================================================================** ** Enter your response (1, 2, 3, 4 or [e]): 1 **=========================================================** ** You have chosen DEVSID - Development Environments ** ** ** ** your environment will now be set... ** **=========================================================** devsid the devsid you see above is an ECHO within the menu script on oracle_sid. so I know it's setting the correct env, but only durring the running of the script. If I perform an echo from command line...it's set to whatever was defined before running the menu. If I run the individual scripts from CL, it sets my env correctly...so it's not the individual env scripts. any assistance would be appreciated, manny |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|