The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 01-24-2007
isingh786 isingh786 is offline
Registered User
  
 

Join Date: Aug 2005
Posts: 75
dynamic global script

Hi,

I have to create a global dynamic script which should ask for the env or some other variables and then create the soft links.

let's say that I have to create ten soft links and the path for these soft links is different for each env

for e.g:
WDEV: /d02/app/applmgr/wdev/appl/CDCRM/bin
WSTG: /d02/app/applmgr/wdev/appl/CDCRM/bin

and the command for soft link is

ln -s /d02/app/applmgr/wdev/appl/fnd/11.5.0/fndcpesr /d02/app/applmgr/wdev/aappl/CDCRM/11.5.0/QC_LDAP_OUT

Is there is a way that I can generate the following two paths dynamically:

/d02/app/applmgr/wdev/appl/fnd/11.5.0/fndcpesr
/d02/app/applmgr/wdev/aappl/CDCRM/11.5.0/