* rajput g v be comp 56 <[EMAIL PROTECTED]> writes:

> hi,
>    can anybody tell me how to run an exe file on linux .
> in window's u just type the name of the exe file ,then it get's
> executed.  but on linux it gives "command not found".
 
If you are talking about an "exe" file as being a DOS or Windows
executable binary, as in calc.exe, then you will need to
install/configure a Windows or DOS emulator. [1]

However, if you are talking about running normal Linux executable
binaries, I think I know what your problem could be.

One of the differences between Linux and DOS/Windows is that by
default Linux will _not_ search the current directory to find the
binary you want to execute.  Linux will only search directories that
are mentioned in the path variable. [2]

So, if you want to run binary xyz which is in directory /usr/local/abc
and /usr/local/abc isn't in your path you have to supply the full path
to the binary, like...

/usr/local/abc/xyz RET

or, if you are in /usr/local/abc, you would do...

./xyz RET [3]




===========================
Want to really learn Linux?
   ... Install Slackware
===========================


Footnotes: 
[1]  Check <http://www.freshmeat.net/> for wine (WINdows Emulator) and
     DOSemu (DOS Emulator)

[2]  To find out what directories are in your path... echo $PATH RET

[3]  ./ means current directory

-- 
|---<Regards, Steve Youngs>-------------------------------------|
| Failures are divided into two classes - those who thought and |
|        never did, and those who did and never thought.        |
|------------------------------------<[EMAIL PROTECTED]>---|

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to