Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 10-26-2003, 06:47 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
Problem with exe files

I am a newb so sorry if im not posting enough info.
I installed mandrake 9.2
After writing a program in c I compiled it with gcc. /-o foo foo.c/
in the shell I type the program name and it doesnt run.
it says not a commard or something similar
The exe file has a star after it when i list the directory.

I downloaded sample c exe scripts and they also have stars next to them and do not run.

I have no Idea why its not working.

please help
Old 10-26-2003, 08:38 PM   #2
LQ Guru
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
You will probably need to run the program by explicitly giving the path name. If you're in the same directory as the program 'foo', then type:


Or you can give the full path, like /home/yourusername/foo or whatever it is. This is because your shell doesn't normally look under /home for executable files.


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
WINE problem running exe. files.. kishan108 Linux - Newbie 1 06-17-2004 08:58 AM
Exe Files Zinctek Linux - Newbie 7 02-23-2004 02:24 PM
.exe files dizzyflower28 Linux - Newbie 7 07-25-2003 03:24 PM
.exe files pranavk Linux - Newbie 4 11-06-2002 06:25 PM
.exe files sleekit Linux - Newbie 1 12-28-2001 01:45 AM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:45 AM.

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