Gunz
Jan 1 2005, 10:32 AM
Everytime I try to run an executable file, by typing it's name, I get the message: "bash: <filename>: command not found"
I really have no clue what to do, please help.
Gunz
Jan 1 2005, 10:38 AM
K, found it (I always find answers after i've asked questions...

), just preceding it by ./ did the trick
michaelk
Jan 2 2005, 08:40 AM
./ is a shortcut for current working directory.
linux unlike windows will only use the path environment when searching for a command.
To see the path environment for your user:
echo $PATH
You would be amazed at the number of threads you can find that I started where I fnid the answer after asking the question. Seems like as soon as you post you figure it out, thats why I always post.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.