Posted: 12/23/2007 2:38:56 PM EDT
|
I'm trying to get the hang of *nix... using bash on Xandros currently. This has happened with all programs I installed, I'll use Tor as an example. I found the binary located at /usr/sbin. It runs if I type "/usr/sbin/tor". But if I go "cd /usr/sbin" and then type "tor", it says command not found. What's the deal? |
|
if you run something from within it's home directory you use the ./filename to execute it. This is normal and you haven't done anything wrong as far as I can tell. The other thing you can do is maybe write a very simple shell script that sets the path, etc and then runs the program for you without having to change to the bin directory each time. You can Google to find lots of examples of shell scripts. |