|
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
|