Grant Hollingworth
6/8/2007 5:17:00 PM
* Joshua Ballanco <jballanc@gmail.com> [2007-06-07 09:05]:
>What does your path look like? (in terminal: printenv PATH). The ./
>directory is not in their by default, so you would have to type
>something like ./script/server. To save yourself the trouble of having
>to do that each time, just add ./ to your path in your shell's rc file:
You don't need to use ./ when you already have a directory name ('script' in this case) in the command.
'script/server' is the same as './script/server'.
You only need ./ if you are already in the same directory as a command.
cd script
./server
Also, adding '.' to your PATH is generally a bad idea. You might end up running a command you didn't expect.