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 03-18-2009
rambler rambler is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 10
Thank you cfajohnson and AlbertGM
it's ok when i use . $PATH_NAME or . "$PATH_NAME/bin/finename.sh"

cfajohnson i use the grep to retrive the lastest directory (include version) that contain the bash file in need to execute, now we are on 11.0.1 version
i know that grep is not very good, then who i can get the last directory ( the recent) which name begfin "batch-xx"


thank you in advance