The UNIX and Linux Forums  

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 -->
  #7 (permalink)  
Old 10-06-2008
solaix14 solaix14 is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 48
era,
thanks for responding back.
can you please help me with this one in particular:
Code:
 
OStype='uname -s'
case $OStype in
SUN) commands;;
 
AIX) commands;;
 
esac
Will you please be kind enough to fill up the commands field that
will go to the AIX part of script once OStype=AIX and vice-versa.
I have not changed any thing in the original script but appended AIX script at the bottom of Solaris script.

( I am not so much familiar with scripting,,your help will be really appreciated)

thanks in advance.