LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-05-2005, 05:10 PM   #1
nonoitall
Member
 
Registered: Feb 2005
Posts: 75

Rep: Reputation: 16
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 . Thanks for the help.
 
Old 03-05-2005, 05:37 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
Which program?
 
Old 03-05-2005, 06:05 PM   #3
nonoitall
Member
 
Registered: Feb 2005
Posts: 75

Original Poster
Rep: Reputation: 16
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!
 
Old 03-05-2005, 06:07 PM   #4
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
If you are in the same directory, you can type
Code:
./filename
- that'll launch the program.
 
Old 03-06-2005, 08:03 PM   #5
nonoitall
Member
 
Registered: Feb 2005
Posts: 75

Original Poster
Rep: Reputation: 16
Thanks! That answered a lot of questions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
running programs jdarvwill Linux - Software 3 10-05-2005 11:15 PM
Running wine - a bit confused on how to start it/run it silentwhispers SUSE / openSUSE 3 11-17-2004 01:15 AM
HElP Running Programs pbrian17 Linux - Newbie 2 10-09-2004 04:03 AM
hELP, IM SO CONFUSED,HOW DO I INSTALL PROGRAMS? Cycopath81090 Linux - Newbie 6 08-18-2003 04:40 PM
I/O error, Mud running, confused... Atroxic Linux - Software 1 05-20-2002 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration