**For example on this machine it works with the ./**
> [was at kent newShell]$ pwd
> /was/WebSphere/DeploymentManager/scripts/newShell
> [was at kent newShell]$ echo $PATH
> 
> /IBMJava2-131/bin:/IBMJava2-131/jre/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/was/bin:.
> [was at kent newShell]$ wasAdmin.sh
> Agent pid 9410
> Enter passphrase for /home/was/.ssh/wasAdminkey_dsa:
> [was at kent newShell]$ ./wasAdmin.sh
> Agent pid 9417
> Enter passphrase for /home/was/.ssh/wasAdminkey_dsa:
> [was at kent newShell]$



Errrr... do a "which wasAdmin.sh" (without the quotes) on this machine.... 
it must be in the path somewhere... 

**But on this machine the ./ is not optional**
> ns0001-06 /home/was $cd /was/WebSphere/DeploymentManager/scripts/newShell/
> ns0001-06 /was/WebSphere/DeploymentManager/scripts/newShell $pwd
> /was/WebSphere/DeploymentManager/scripts/newShell
> ns0001-06 /was/WebSphere/DeploymentManager/scripts/newShell $echo $PATH
> 
> /usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/db2/db2inst1/sqllib/bin:/db2/db2inst1/sqllib/adm:/db2/db2inst1/sqllib/misc
> ns0001-06 /was/WebSphere/DeploymentManager/scripts/newShell $wasAdmin.sh
> -bash: wasAdmin.sh: command not found
> ns0001-06 /was/WebSphere/DeploymentManager/scripts/newShell $./wasAdmin.sh
> Agent pid 18846
> Enter passphrase for /home/was/.ssh/wasAdminkey_dsa:
> ns0001-06 /was/WebSphere/DeploymentManager/scripts/newShell $
> 
> I assume this is shell setting, but which one?
> 
> Brock
> 
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20050601/d1b624ad/attachment.html