If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Just because you're using bash as your login shell, doesn't mean that the /bin/sh program is bash on your system. When you just say "sh somefile", it's going to run it with /bin/sh, no matter whether that is the same shell you're using or not.
As for the dc-tool problem, you are trying to run it out of the current directory there, which is probably not where the program is sitting. Use the correct path to the program (or just "dc-tool" instead of "./dc-tool" if it is in a directory in your $PATH).
andy@debian:~$ /opt/toolchains/dc/stgframework/dc-tool
bash: /opt/toolchains/dc/stgframework/dc-tool: Datei oder Verzeichnis nicht gefunden
but dc-tool is in this folder (see attached pic)
PS:
Someone told my the problem could be that my debain is now a 64-bit system und die dc-tool i use a 32-bit program,
in what Folder of Kos is the location of DC-Tool, so i can compile it again
KOS does not include dc-tool, and it isn't built with KOS by default.
If you'd like to try building it yourself, you can get the code from the git repository at git.code.sf.net/p/cadcdev/dcload-ip (assuming you want the broadband adapter version of dc-tool/dcload).
Make sure you have libelf-dev installed from your package manager in Debian, clone that git repository mentioned earlier, go into the host-src/tool directory in it and run "make". If that works, then run "sudo make install" and it should build dc-tool and install it in /usr/local/bin (which should be in your default PATH in debian, so you'll just be able to run it as "dc-tool" without specifying a path).