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 UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 03-07-2007
ahmedwaseem2000 ahmedwaseem2000 is offline
Registered User
 

Join Date: Aug 2005
Location: Bangalore
Posts: 206
you can use cd command itself to change the directory before running the script something like this:

Code:
cd /folder/sub folder
. ./script
Reply With Quote