command not found error message
Hi,
I have an executable program that I'm trying to run, but I keep getting a message stating, "command not found." The permissions on the program are -rwxrwxr-x and it still doesn't work. I have no idea of what else to do to run the program. DCARLIS |
What is the exact error message, the name of the program, and the command line you're using?
if you're running 'example' and get: bash: example: command not found then the shell doesn't know where the program is because it's not in a directory mentioned in $PATH - use a specific pathname (e.g if example is in the current dir, try ./example instead) |
What is the name of the program? Is it possibly a script referring to some other program that is missing?
Running program "./foo" with command Code:
strace -e trace=file ./foo |
Type in the full path to the program as in
/bin/ls or if you are in the directory it is in put a . and a / in front of it ./program To find your PATH echo $PATH |
All times are GMT -5. The time now is 09:18 PM. |