LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I'm confused about running programs (https://www.linuxquestions.org/questions/linux-newbie-8/im-confused-about-running-programs-298067/)

nonoitall 03-05-2005 04:10 PM

I'm confused about running programs
 
Have been using Windows (XP) for quite some time and have switched over to mainly using Mandrake 10.1 and am having some newbish problems. How exactly do I launch an executable that's not on the application menu? I'm used to just double-clicking the file in a file browser, but that doesn't do anything. Attempting to open it from the console (yes, I'm positive I have the right path) prints out something along the lines of:
Code:

bash: yourProgram: command not found
I'm sure there's a simple explanation, but it's making things difficult for a :newbie:. Thanks for the help.

XavierP 03-05-2005 04:37 PM

Which program?

nonoitall 03-05-2005 05:05 PM

I guess I kinda solved it. I was used to being able to 'cd' until I got to the directory where the executable was located and then just type in the name of the executable (like in a DOS prompt). Didn't realize I needed to type out the whole path even when I was in the same directory as the executable. Thanks anyway!

mjjzf 03-05-2005 05:07 PM

If you are in the same directory, you can type
Code:

./filename
- that'll launch the program.

nonoitall 03-06-2005 07:03 PM

Thanks! That answered a lot of questions.


All times are GMT -5. The time now is 09:33 PM.