The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 02-04-2002
witt
Guest
 

Posts: n/a
DanielB,

Execute your script with full path name.
Example :

/usr/local/bin/test

or

Change your directory to the script path and
execute this.
Example :

cd /usr/local/bin
./test

If you to try to execute thus : (. test)

The O.S. tries to execute the /usr/bin/test command.
And the point before a command test (in your example) without slash (/) is to load variables in the subshell.

Witt