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 -->
  #2 (permalink)  
Old 09-19-2007
porter porter is offline
Registered User
 

Join Date: Jan 2007
Posts: 2,965
.script.sh

would try and find a program called ".script.sh" on the path and run them in a child process.

. script.sh

would basically interpret the script.sh commands inline

./script.sh

would try and find a program called "script.sh" in the current directory and run them in a child process.

source is an alias for .
Reply With Quote