which searches your PATH. It happens that mycommand is found in a $PATH entry with a trailing slash: /home/t/program_files/document/other edits/. which concatenates the directory, a / as separator, and the command name to build the filename to check; when the directory has a trailing slash, this results in two slashes.

Multiple slashes are equivalent to a single one, so this is completely inoccuous.

P.S. Why not use &quot;which&quot;? What to use then?

Why do I have double slash here?
So i am trying to start investing periodically some small amounts.
I am particularly interested in index funds or ETF.

I would like to be able buy, track, sell them, and etc online.
There are a lot of online brokers like : TD Ameritrade, etrade and etc. , but i cant seem to find the one that would allow to register fro Europe citizen, like from Denmark. (all the top ones require USA citizenship or etc).

Is there any like that at all ? If not - what other options there are to make such investments ?
