LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   executing from command line (http://www.linuxquestions.org/questions/linux-newbie-8/executing-from-command-line-136651/)

nodger 01-20-2004 07:16 AM

executing from command line
 
This question will prove how much of a linux dummy I am:

How do I execute a program (not in the bin directory) from the command line. Its just telling me "command not found"

acid_kewpie 01-20-2004 07:21 AM

also clearly nothing to do with programming. moved...

if you are running a program that is not on your path variable, you muct precede it with the full (or relavite path) e.g. "/var/stuff/program" or in the same directory you are in at the time "./program"

nodger 01-20-2004 07:33 AM

thanks alot

_KDF 01-20-2004 11:30 AM

You can always setup a symbolic link to the executable in one of your paths, or you can add/alter your paths to reflect the location of the original executable.

ln -s /path/to/executable /usr/bin/

something like that. ?


All times are GMT -5. The time now is 10:34 AM.