I wonder where does linux, particularly Ubuntu or Debian, look to find binaries when we write to console to run them?
For example when I write firef and hit the tab it completes to firefox. I know it looks it from /usr/bin but there may be another places.
My main problem is that I am working on a debian machine where I don't have a root access. I have only write access to my home directory and I want to add a stand-alone application(let's say eclipse) and then run it by just writing eclipse to the console.
Thanks