I feel like I am missing something also!!!  Honestly, this is really
getting on my nerves!

The machine which no ./ is needed:
[was at kent was]$ cd /was/WebSphere/DeploymentManager/scripts/newShell/
[was at kent newShell]$ which wasAdmin.sh
./wasAdmin.sh
[was at kent newShell]$ cd ..
[was at kent scripts]$ which wasAdmin.sh
/usr/bin/which: no wasAdmin.sh in
(/IBMJava2-131/bin:/IBMJava2-131/jre/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/was/bin:.)
[was at kent scripts]$

Machine where ./ is needed:
\u@\h:\w> pwd
/was/WebSphere/DeploymentManager/scripts/newShell
\u@\h:\w> ls -l wasAdmin.sh
-rwxr-xr-x    1 was      was           625 Nov 29  2004 wasAdmin.sh
\u@\h:\w> which wasAdmin.sh
which: no wasAdmin.sh in
(/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/db2/db2inst1/sqllib/bin:/db2/db2inst1/sqllib/adm:/db2/db2inst1/sqllib/misc)
\u@\h:\w>       


On 6/1/05, John Meier <john.meier at gmail.com> wrote:
> 
> 
> 
>  
> > **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
> > 
>  
>