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 -->
  #4 (permalink)  
Old 04-24-2009
panyam panyam is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2008
Posts: 474
Hi julirani,

I am sure there will be no problem with the OS. Make sure that only one instance of the script "a.sh" is runnning . Your command returnning value 4 since it might found multiple instances of the same.Of course you may not be the one who is running the script once again . Ther might be others in the server who is running.